poppler: update to 0.64

This commit is contained in:
Henrik Grimler 2018-04-30 21:00:39 +02:00 committed by Fredrik Fornwall
parent 62d67962d6
commit bc4dd45e64
2 changed files with 2 additions and 19 deletions

View File

@ -1,8 +1,7 @@
TERMUX_PKG_HOMEPAGE=https://poppler.freedesktop.org/
TERMUX_PKG_DESCRIPTION="PDF rendering library"
TERMUX_PKG_VERSION=0.62.0
TERMUX_PKG_REVISION=1
TERMUX_PKG_SHA256=5b9a73dfd4d6f61d165ada1e4f0abd2d420494bf9d0b1c15d0db3f7b83a729c6
TERMUX_PKG_VERSION=0.64.0
TERMUX_PKG_SHA256=b21df92ca99f78067785cf2dc8e06deb04726b62389c0ee1f5d8b103c77f64b1
TERMUX_PKG_SRCURL=https://poppler.freedesktop.org/poppler-${TERMUX_PKG_VERSION}.tar.xz
# libcairo and littlecms is used by pdftocairo:
TERMUX_PKG_DEPENDS="fontconfig, libcairo, libpng, libjpeg-turbo, libtiff, littlecms, openjpeg, freetype, libcurl"

View File

@ -1,16 +0,0 @@
https://bugs.freedesktop.org/show_bug.cgi?id=103873
diff --git a/poppler/PDFDoc.cc b/poppler/PDFDoc.cc
index 90f039d8..a5249dcd 100644
--- a/poppler/PDFDoc.cc
+++ b/poppler/PDFDoc.cc
@@ -1503,7 +1503,7 @@ void PDFDoc::writeXRefTableTrailer(Goffset uxrefOffset, XRef *uxref, GBool write
void PDFDoc::writeHeader(OutStream *outStr, int major, int minor)
{
outStr->printf("%%PDF-%d.%d\n", major, minor);
- outStr->printf("%%\xE2\xE3\xCF\xD3\n");
+ outStr->printf("%%%c%c%c%c\n", 0xE2, 0xE3, 0xCF, 0xD3);
}
void PDFDoc::markDictionnary (Dict* dict, XRef * xRef, XRef *countRef, Guint numOffset, int oldRefNum, int newRefNum, std::set<Dict*> *alreadyMarkedDicts)