media-gfx/pdftoipe: add poppler patch
[shuber-gentoo-overlay.git] / media-gfx / pdftoipe / files / poppler-0.18.patch
diff --git a/media-gfx/pdftoipe/files/poppler-0.18.patch b/media-gfx/pdftoipe/files/poppler-0.18.patch
new file mode 100644 (file)
index 0000000..5713ad8
--- /dev/null
@@ -0,0 +1,11 @@
+--- xmloutputdev.cpp
++++ xmloutputdev.cpp
+@@ -336,7 +336,7 @@
+     // dump JPEG stream
+     std::vector<char> buffer;
+     // initialize stream
+-    str = ((DCTStream *)str)->getRawStream();
++    str = str->getNextStream();
+     str->reset();
+     // copy the stream
+     while ((c = str->getChar()) != EOF)