aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2007-10-27 12:18:18 +0800
committerdinoex <dinoex@FreeBSD.org>2007-10-27 12:18:18 +0800
commit1ade2d6c5f7adbbb3abeacc9f887ad6e54bfbc19 (patch)
treefb71a3cb48d2b7199f1d25d098c9c52a59fd2ca3 /graphics
parenta87bb53c4af9393a4c63fe67bda05ff9e9126f22 (diff)
downloadfreebsd-ports-gnome-1ade2d6c5f7adbbb3abeacc9f887ad6e54bfbc19.tar.gz
freebsd-ports-gnome-1ade2d6c5f7adbbb3abeacc9f887ad6e54bfbc19.tar.zst
freebsd-ports-gnome-1ade2d6c5f7adbbb3abeacc9f887ad6e54bfbc19.zip
- fix build with current popplerlib
Submitted by: garga (Renato Botelho)
Diffstat (limited to 'graphics')
-rw-r--r--graphics/popplerkit/files/patch-bindings6
1 files changed, 4 insertions, 2 deletions
diff --git a/graphics/popplerkit/files/patch-bindings b/graphics/popplerkit/files/patch-bindings
index 3424d7b14cd9..1f97d0ff853b 100644
--- a/graphics/popplerkit/files/patch-bindings
+++ b/graphics/popplerkit/files/patch-bindings
@@ -47,10 +47,12 @@ diff -uN bindings.orig/poppler.cc bindings/poppler.cc
// fontconfig initialization
if (fcConfigPath)
{
-@@ -122,7 +124,9 @@
+@@ -121,8 +123,10 @@
+ fflush(stderr);
}
- globalParams = new GlobalParams(NULL);
+- globalParams = new GlobalParams(NULL);
++ globalParams = new GlobalParams();
+#ifdef POPPLER_0_4
globalParams->setupBaseFontsFc(NULL);
+#endif