pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/print/xpdf Avoid invalid conversion from const char * ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/5321ee91196d
branches: trunk
changeset: 601479:5321ee91196d
user: hans <hans%pkgsrc.org@localhost>
date: Wed Mar 21 17:05:57 2012 +0000
description:
Avoid invalid conversion from const char * to char * when building this
against lesstif with gcc46.
diffstat:
print/xpdf/distinfo | 3 ++-
print/xpdf/patches/patch-xpdf_XPDFViewer.cc | 13 +++++++++++++
2 files changed, 15 insertions(+), 1 deletions(-)
diffs (31 lines):
diff -r 1fde972e1675 -r 5321ee91196d print/xpdf/distinfo
--- a/print/xpdf/distinfo Wed Mar 21 16:48:17 2012 +0000
+++ b/print/xpdf/distinfo Wed Mar 21 17:05:57 2012 +0000
@@ -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-aq) = 4cba560189d2977d1c5ea60acf2d50ca311efbe1
SHA1 (patch-ar) = 5e4719a30a0412d9d731dbef8179c38bba67db94
SHA1 (patch-bc) = e3f8092c30325a3f7abf230daeadd4478a9db768
+SHA1 (patch-xpdf_XPDFViewer.cc) = 38b1f79365149b37736ecfc73fa0e920fb758d93
diff -r 1fde972e1675 -r 5321ee91196d print/xpdf/patches/patch-xpdf_XPDFViewer.cc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/xpdf/patches/patch-xpdf_XPDFViewer.cc Wed Mar 21 17:05:57 2012 +0000
@@ -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;
+ };
+
Home |
Main Index |
Thread Index |
Old Index