diff options
Diffstat (limited to 'libre/texlive-bin')
-rw-r--r-- | libre/texlive-bin/PKGBUILD | 8 | ||||
-rw-r--r-- | libre/texlive-bin/texlive-poppler-0.86.patch | 11 |
2 files changed, 16 insertions, 3 deletions
diff --git a/libre/texlive-bin/PKGBUILD b/libre/texlive-bin/PKGBUILD index 14c1430ae..07e31aad4 100644 --- a/libre/texlive-bin/PKGBUILD +++ b/libre/texlive-bin/PKGBUILD @@ -13,7 +13,7 @@ pkgname=('texlive-bin' 'libsynctex') pkgver=2019.51075 -pkgrel=6 +pkgrel=7 pkgrel+=.par1 license=('GPL') arch=('x86_64') @@ -27,11 +27,12 @@ makedepends_i686=('clisp' 'ffcall') 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' - '4a4ff82c85cecafc5bbf544e568d80022e9456c3223648fa8d64e699526646c5') + '4a4ff82c85cecafc5bbf544e568d80022e9456c3223648fa8d64e699526646c5' + '3438c1a3b7e1422ca964819b5cdf9ece086881c6448d0e2e3cfffdc1b082bb5d') prepare() { cd "$srcdir/texlive-source" @@ -46,6 +47,7 @@ prepare() { 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() { diff --git a/libre/texlive-bin/texlive-poppler-0.86.patch b/libre/texlive-bin/texlive-poppler-0.86.patch new file mode 100644 index 000000000..56a781e07 --- /dev/null +++ b/libre/texlive-bin/texlive-poppler-0.86.patch @@ -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(); |