summary refs log tree commit diff
path: root/gnu/packages/patches/xpdf-constchar.patch
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/patches/xpdf-constchar.patch')
-rw-r--r--gnu/packages/patches/xpdf-constchar.patch15
1 files changed, 0 insertions, 15 deletions
diff --git a/gnu/packages/patches/xpdf-constchar.patch b/gnu/packages/patches/xpdf-constchar.patch
deleted file mode 100644
index 95dbe73c71..0000000000
--- a/gnu/packages/patches/xpdf-constchar.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-This patch circumvents an error with 'const char *' to 'char *' conversion,
-see http://gnats.netbsd.org/45562 .
-
-diff -u a/xpdf/XPDFViewer.cc b/xpdf/XPDFViewer.cc
---- a/xpdf/XPDFViewer.cc        2011-08-15 23:08:53.000000000 +0200
-+++ b/xpdf/XPDFViewer.cc        2013-03-31 15:13:21.000000000 +0200
-@@ -1803,7 +1803,7 @@
-   menuPane = XmCreatePulldownMenu(toolBar, "zoomMenuPane", args, n);
-   for (i = 0; i < nZoomMenuItems; ++i) {
-     n = 0;
--    s = XmStringCreateLocalized(zoomMenuInfo[i].label);
-+    s = XmStringCreateLocalized((char *) zoomMenuInfo[i].label);
-     XtSetArg(args[n], XmNlabelString, s); ++n;
-     XtSetArg(args[n], XmNuserData, (XtPointer)i); ++n;
-     sprintf(buf, "zoom%d", i);