diff -Nru extractpdfmark-1.1.0/debian/changelog extractpdfmark-1.1.0/debian/changelog --- extractpdfmark-1.1.0/debian/changelog 2019-08-28 21:55:09.000000000 +0000 +++ extractpdfmark-1.1.0/debian/changelog 2020-08-20 13:59:55.000000000 +0000 @@ -1,3 +1,11 @@ +extractpdfmark (1.1.0-1+rpi1) bullseye-staging; urgency=medium + + * Update findpage call for poppler 0.85 (Closes: ?????) + * Bump poppler build-dependency since changes will break build with older + poppler. + + -- Peter Michael Green Thu, 20 Aug 2020 13:59:55 +0000 + extractpdfmark (1.1.0-1) unstable; urgency=medium * New upstream version 1.1.0 diff -Nru extractpdfmark-1.1.0/debian/control extractpdfmark-1.1.0/debian/control --- extractpdfmark-1.1.0/debian/control 2019-08-28 21:54:37.000000000 +0000 +++ extractpdfmark-1.1.0/debian/control 2020-08-20 13:59:55.000000000 +0000 @@ -4,8 +4,8 @@ Priority: optional Build-Depends: debhelper-compat (= 12), pkg-config, - libpoppler-dev, - libpoppler-private-dev, + libpoppler-dev (>= 0.85), + libpoppler-private-dev (>= 0.85), # Needed for testing (gs and pdftex) ghostscript, texlive-base diff -Nru extractpdfmark-1.1.0/debian/patches/0003-poppler-0.85.patch extractpdfmark-1.1.0/debian/patches/0003-poppler-0.85.patch --- extractpdfmark-1.1.0/debian/patches/0003-poppler-0.85.patch 1970-01-01 00:00:00.000000000 +0000 +++ extractpdfmark-1.1.0/debian/patches/0003-poppler-0.85.patch 2020-08-20 13:59:55.000000000 +0000 @@ -0,0 +1,16 @@ +Description: Fix build with poppler 0.85 + This package fixes the build with poppler 0.85, it will break the build with + poppler 0.71. Intermediate versions of poppler have not been investigated. +Author: Peter Michael Green + +--- extractpdfmark-1.1.0.orig/src/poppler-core/destname.cc ++++ extractpdfmark-1.1.0/src/poppler-core/destname.cc +@@ -82,7 +82,7 @@ std::string poppler_core::build_destname + if (link_dest->isPageRef ()) + { + Ref page_ref = link_dest->getPageRef (); +- pagenum = doc->findPage (page_ref.num, page_ref.gen); ++ pagenum = doc->findPage (page_ref); + } + else + { diff -Nru extractpdfmark-1.1.0/debian/patches/series extractpdfmark-1.1.0/debian/patches/series --- extractpdfmark-1.1.0/debian/patches/series 2019-08-28 21:50:53.000000000 +0000 +++ extractpdfmark-1.1.0/debian/patches/series 2020-08-20 13:59:55.000000000 +0000 @@ -1,2 +1,3 @@ 0001-Add-gettext-requirement-to-configure.ac.patch 0002-Exclude-some-docs-from-install.patch +0003-poppler-0.85.patch