summaryrefslogtreecommitdiffstats
path: root/trinity-apps/kword/files/kword-libpaper.patch
diff options
context:
space:
mode:
Diffstat (limited to 'trinity-apps/kword/files/kword-libpaper.patch')
-rw-r--r--trinity-apps/kword/files/kword-libpaper.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/trinity-apps/kword/files/kword-libpaper.patch b/trinity-apps/kword/files/kword-libpaper.patch
new file mode 100644
index 00000000..74e79cb9
--- /dev/null
+++ b/trinity-apps/kword/files/kword-libpaper.patch
@@ -0,0 +1,11 @@
+--- a/filters/kword/pdf/xpdf/xpdf/GlobalParams.cpp
++++ b/filters/kword/pdf/xpdf/xpdf/GlobalParams.cpp
+@@ -146,7 +146,7 @@
+ displayCIDFonts = new GHash();
+ displayNamedCIDFonts = new GHash();
+ #ifdef HAVE_PAPER_H
+- char *paperName;
++ const char *paperName;
+ const struct paper *paperType;
+ paperinit();
+ if ((paperName = systempapername())) {