summaryrefslogtreecommitdiff
path: root/print/xpp/patches
diff options
context:
space:
mode:
authorsbd <sbd@pkgsrc.org>2010-05-09 04:21:40 +0000
committersbd <sbd@pkgsrc.org>2010-05-09 04:21:40 +0000
commitd6840ce7d9bf79a7735b40f132ccbe3072a83bc6 (patch)
tree6e00e57b7116567023e9dd03ffad9e1b20960f7c /print/xpp/patches
parent698b637e80a132b5882f124ab342ccb09a69fda8 (diff)
downloadpkgsrc-d6840ce7d9bf79a7735b40f132ccbe3072a83bc6.tar.gz
Fix some gcc cast pickyness, From PR 42294
Diffstat (limited to 'print/xpp/patches')
-rw-r--r--print/xpp/patches/patch-ae13
1 files changed, 13 insertions, 0 deletions
diff --git a/print/xpp/patches/patch-ae b/print/xpp/patches/patch-ae
new file mode 100644
index 00000000000..90dbbbc8a34
--- /dev/null
+++ b/print/xpp/patches/patch-ae
@@ -0,0 +1,13 @@
+$NetBSD: patch-ae,v 1.1 2010/05/09 04:21:40 sbd Exp $
+
+--- xpp.cxx.orig 2004-12-07 08:00:04.000000000 +1300
++++ xpp.cxx
+@@ -168,7 +168,7 @@ printFiles::printFiles(int argc, /* I -
+ {
+ char *tmp;
+
+- if ((tmp = strchr(dest,'/'))) {
++ if ((tmp = strchr((char*)dest,'/'))) {
+ tmp[0] = '\0';
+ instance = tmp + 1;
+ }