Fix pdftoipe for poppler-0.20
[shuber-gentoo-overlay.git] / media-gfx / pdftoipe / files / poppler-0.18.patch
1 --- xmloutputdev.cpp
2 +++ xmloutputdev.cpp
3 @@ -336,7 +336,7 @@
4 // dump JPEG stream
5 std::vector<char> buffer;
6 // initialize stream
7 - str = ((DCTStream *)str)->getRawStream();
8 + str = str->getNextStream();
9 str->reset();
10 // copy the stream
11 while ((c = str->getChar()) != EOF)