Date: Tuesday, March 3, 2020 @ 21:15:44
  Author: arojas
Revision: 376533

Fix build with poppler 0.86

Added:
  texlive-bin/trunk/texlive-poppler-0.86.patch
Modified:
  texlive-bin/trunk/PKGBUILD

----------------------------+
 PKGBUILD                   |    3 ++-
 texlive-poppler-0.86.patch |   11 +++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2020-03-03 19:55:05 UTC (rev 376532)
+++ PKGBUILD    2020-03-03 21:15:44 UTC (rev 376533)
@@ -13,7 +13,7 @@
 url='https://tug.org/texlive/'
 _commit=74c2495978a4a84ffae10252c0fd244f1140228e  # texlive-2019.2 r51075
 source=("git+https://github.com/Tex-Live/texlive-source.git#commit=${_commit}";
-        "pdftex-poppler0.76.patch" texlive-poppler-0.83.patch 
texlive-poppler-0.84.patch)
+        "pdftex-poppler0.76.patch" texlive-poppler-0.83.patch 
texlive-poppler-0.84.patch texlive-poppler-0.86.patch)
 sha256sums=('SKIP'
             '5da9f5356ca14d950c222108b431baaf5c27667460ffab9597b29ef11b426c0f'
             'ae68858b3ed60f6ef49cf29f31f601d0660908551484afe86283bc6054e9d9f8'
@@ -32,6 +32,7 @@
 
     patch -p1 -i ../texlive-poppler-0.83.patch
     patch -p1 -i ../texlive-poppler-0.84.patch # Gentoo patch
+    patch -p1 -i ../texlive-poppler-0.86.patch
 }
 
 build() {

Added: texlive-poppler-0.86.patch
===================================================================
--- texlive-poppler-0.86.patch                          (rev 0)
+++ texlive-poppler-0.86.patch  2020-03-03 21:15:44 UTC (rev 376533)
@@ -0,0 +1,11 @@
+--- a/texk/web2c/pdftexdir/pdftoepdf.cc        2020-03-03 21:11:35.102711802 
+0000
++++ b/texk/web2c/pdftexdir/pdftoepdf.cc        2020-03-03 21:13:13.057420111 
+0000
+@@ -757,7 +757,7 @@
+     if (page_name) {
+         // get page by name
+         GString name(page_name);
+-        LinkDest *link = pdf_doc->doc->findDest(&name);
++        LinkDest *link = pdf_doc->doc->findDest(&name).get();
+         if (link == 0 || !link->isOk())
+             pdftex_fail("PDF inclusion: invalid destination <%s>", page_name);
+         Ref ref = link->getPageRef();

Reply via email to