aboutsummaryrefslogtreecommitdiff
path: root/print/pdf-tools
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2018-12-16 15:10:42 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2018-12-16 15:10:42 +0000
commit1fb34516c19e99468a4e212e3689f331937fcb33 (patch)
treed25c257492f3b7cfcf0c4195b31b86d6981d8edc /print/pdf-tools
parent36548a0f8abdb1ed65d7ad8353fcdec5a02ce6b0 (diff)
downloadports-1fb34516c19e99468a4e212e3689f331937fcb33.tar.gz
ports-1fb34516c19e99468a4e212e3689f331937fcb33.zip
Update poppler to 0.72
This update brings many changes - the build system has switched to cmake - some ports needed to be switched to use their bundled version of poppler: - print/tex-luatex (r487226) - print/tex-xetex (r487226) - editors/opeonffice-devel - Qt4 support has been dropped - print/frescobaldi has been removed for this reason. - most of the added patches can be removed with the next upgrade of the concerning port. PR: 233452 Exp-run by: antoine Approved by: gnome (kwm) Differential Revision: https://reviews.freebsd.org/D17456
Notes
Notes: svn path=/head/; revision=487596
Diffstat (limited to 'print/pdf-tools')
-rw-r--r--print/pdf-tools/Makefile1
-rw-r--r--print/pdf-tools/files/patch-server_poppler-hack.cc11
2 files changed, 12 insertions, 0 deletions
diff --git a/print/pdf-tools/Makefile b/print/pdf-tools/Makefile
index d13a2885a736..7d6b04c8b798 100644
--- a/print/pdf-tools/Makefile
+++ b/print/pdf-tools/Makefile
@@ -4,6 +4,7 @@ PORTNAME= pdf-tools
DISTVERSIONPREFIX= v
DISTVERSION= 0.80-133
DISTVERSIONSUFFIX= -gb6c0e4f
+PORTREVISION= 1
CATEGORIES= print elisp
PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}
diff --git a/print/pdf-tools/files/patch-server_poppler-hack.cc b/print/pdf-tools/files/patch-server_poppler-hack.cc
new file mode 100644
index 000000000000..dde0d3f4a525
--- /dev/null
+++ b/print/pdf-tools/files/patch-server_poppler-hack.cc
@@ -0,0 +1,11 @@
+--- server/poppler-hack.cc.orig 2018-12-09 09:39:37 UTC
++++ server/poppler-hack.cc
+@@ -62,7 +62,7 @@ GType poppler_annot_markup_get_type (void) G_GNUC_CONS
+ return NULL;
+
+ if (s->hasUnicodeMarker()) {
+- result = g_convert (s->getCString () + 2,
++ result = g_convert (s->c_str () + 2,
+ s->getLength () - 2,
+ "UTF-8", "UTF-16BE", NULL, NULL, NULL);
+ } else {