diff -Nru xpdf-3.04/debian/changelog xpdf-3.04/debian/changelog --- xpdf-3.04/debian/changelog 2018-01-25 05:49:14.000000000 +0000 +++ xpdf-3.04/debian/changelog 2018-01-26 04:03:03.000000000 +0000 @@ -1,3 +1,9 @@ +xpdf (3.04-5ubuntu2) bionic; urgency=medium + + * Fix build with poppler-0.62. + + -- Matthias Klose Fri, 26 Jan 2018 05:03:03 +0100 + xpdf (3.04-5ubuntu1) bionic; urgency=medium * Apply Debian hacks to build with poppler-0.62. See #883523. diff -Nru xpdf-3.04/debian/patches/poppler-0.62.diff xpdf-3.04/debian/patches/poppler-0.62.diff --- xpdf-3.04/debian/patches/poppler-0.62.diff 1970-01-01 00:00:00.000000000 +0000 +++ xpdf-3.04/debian/patches/poppler-0.62.diff 2018-01-26 04:03:00.000000000 +0000 @@ -0,0 +1,13 @@ +Index: b/xpdf/GlobalParams.cc +=================================================================== +--- a/xpdf/GlobalParams.cc ++++ b/xpdf/GlobalParams.cc +@@ -74,7 +74,7 @@ + + #include "NameToUnicodeTable.h" + #include "UnicodeMapTables.h" +-#include "UTF8.h" ++#include "UnicodeMapFuncs.h" + + #ifdef ENABLE_PLUGINS + # ifdef _WIN32 diff -Nru xpdf-3.04/debian/patches/series xpdf-3.04/debian/patches/series --- xpdf-3.04/debian/patches/series 2018-01-25 05:49:14.000000000 +0000 +++ xpdf-3.04/debian/patches/series 2018-01-26 04:01:20.000000000 +0000 @@ -31,3 +31,4 @@ poppler-manpage.patch poppler.diff +poppler-0.62.diff