diff options
author | hans <hans@pkgsrc.org> | 2012-03-21 17:05:57 +0000 |
---|---|---|
committer | hans <hans@pkgsrc.org> | 2012-03-21 17:05:57 +0000 |
commit | d62f2ea3228986c9b4313d646b6c052caad2b6b6 (patch) | |
tree | f0a309dcadd139c7ca95b92d9c75222ede3ea8cb /print | |
parent | dece1ceafad81e1f94e4044672395a376cb5ec2c (diff) | |
download | pkgsrc-d62f2ea3228986c9b4313d646b6c052caad2b6b6.tar.gz |
Avoid invalid conversion from const char * to char * when building this
against lesstif with gcc46.
Diffstat (limited to 'print')
-rw-r--r-- | print/xpdf/distinfo | 3 | ||||
-rw-r--r-- | print/xpdf/patches/patch-xpdf_XPDFViewer.cc | 13 |
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; + }; + |