summaryrefslogtreecommitdiff
path: root/print/xpdf
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2012-03-21 17:05:57 +0000
committerhans <hans@pkgsrc.org>2012-03-21 17:05:57 +0000
commitd62f2ea3228986c9b4313d646b6c052caad2b6b6 (patch)
treef0a309dcadd139c7ca95b92d9c75222ede3ea8cb /print/xpdf
parentdece1ceafad81e1f94e4044672395a376cb5ec2c (diff)
downloadpkgsrc-d62f2ea3228986c9b4313d646b6c052caad2b6b6.tar.gz
Avoid invalid conversion from const char * to char * when building this
against lesstif with gcc46.
Diffstat (limited to 'print/xpdf')
-rw-r--r--print/xpdf/distinfo3
-rw-r--r--print/xpdf/patches/patch-xpdf_XPDFViewer.cc13
2 files changed, 15 insertions, 1 deletions
diff --git a/print/xpdf/distinfo b/print/xpdf/distinfo
index fe2af824e61..66de83606ce 100644
--- a/print/xpdf/distinfo
+++ b/print/xpdf/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.40 2011/10/27 02:35:41 tez Exp $
+$NetBSD: distinfo,v 1.41 2012/03/21 17:05:57 hans Exp $
SHA1 (xpdf-3.03.tar.gz) = 499423e8a795e0efd76ca798239eb4d0d52fe248
RMD160 (xpdf-3.03.tar.gz) = ef1336c189026fb0ecd169e2b37b5a5aa22e04be
@@ -19,3 +19,4 @@ SHA1 (patch-ap) = 5961dfe22ac087a7df0311235b4fab27d7554c58
SHA1 (patch-aq) = 4cba560189d2977d1c5ea60acf2d50ca311efbe1
SHA1 (patch-ar) = 5e4719a30a0412d9d731dbef8179c38bba67db94
SHA1 (patch-bc) = e3f8092c30325a3f7abf230daeadd4478a9db768
+SHA1 (patch-xpdf_XPDFViewer.cc) = 38b1f79365149b37736ecfc73fa0e920fb758d93
diff --git a/print/xpdf/patches/patch-xpdf_XPDFViewer.cc b/print/xpdf/patches/patch-xpdf_XPDFViewer.cc
new file mode 100644
index 00000000000..8d62579d227
--- /dev/null
+++ b/print/xpdf/patches/patch-xpdf_XPDFViewer.cc
@@ -0,0 +1,13 @@
+$NetBSD: patch-xpdf_XPDFViewer.cc,v 1.1 2012/03/21 17:05:58 hans Exp $
+
+--- xpdf/XPDFViewer.cc.orig 2011-08-15 23:08:53.000000000 +0200
++++ xpdf/XPDFViewer.cc 2012-03-21 17:58:15.368920809 +0100
+@@ -134,7 +134,7 @@
+ //------------------------------------------------------------------------
+
+ struct ZoomMenuInfo {
+- const char *label;
++ char *label;
+ double zoom;
+ };
+