summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsbd <sbd@pkgsrc.org>2012-01-24 08:18:41 +0000
committersbd <sbd@pkgsrc.org>2012-01-24 08:18:41 +0000
commita3310751499abadafd2bdd7ec60128000899c13a (patch)
tree8e8fd7aefce0af7ab1dda7dd7b08416bb340881f
parentcb533afbc3c5099d48443ba9b6c8df76615a76a2 (diff)
downloadpkgsrc-a3310751499abadafd2bdd7ec60128000899c13a.tar.gz
Shut-up g++ error about invalid conversion.
-rw-r--r--x11/qt3-qscintilla/distinfo3
-rw-r--r--x11/qt3-qscintilla/patches/patch-.._src_LexCaml.cpp13
2 files changed, 15 insertions, 1 deletions
diff --git a/x11/qt3-qscintilla/distinfo b/x11/qt3-qscintilla/distinfo
index 4efb3c7fc57..17690b15324 100644
--- a/x11/qt3-qscintilla/distinfo
+++ b/x11/qt3-qscintilla/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.7 2006/03/16 21:58:52 minskim Exp $
+$NetBSD: distinfo,v 1.8 2012/01/24 08:18:41 sbd Exp $
SHA1 (qscintilla-1.65-gpl-1.6.tar.gz) = 6663a1527b8fd37286d5fc0e77b4960c107e4de1
RMD160 (qscintilla-1.65-gpl-1.6.tar.gz) = f91921b16491aa44e3db25418ce2033555989123
Size (qscintilla-1.65-gpl-1.6.tar.gz) = 821730 bytes
+SHA1 (patch-.._src_LexCaml.cpp) = dd02072933e567326b25b65060752a4296b57f23
SHA1 (patch-aa) = 26a37c3d791cfa317e77462b83cff5242079b78e
diff --git a/x11/qt3-qscintilla/patches/patch-.._src_LexCaml.cpp b/x11/qt3-qscintilla/patches/patch-.._src_LexCaml.cpp
new file mode 100644
index 00000000000..296f03e50ab
--- /dev/null
+++ b/x11/qt3-qscintilla/patches/patch-.._src_LexCaml.cpp
@@ -0,0 +1,13 @@
+$NetBSD: patch-.._src_LexCaml.cpp,v 1.1 2012/01/24 08:18:41 sbd Exp $
+
+--- ../src/LexCaml.cpp.orig 2005-08-08 20:12:16.000000000 +0000
++++ ../src/LexCaml.cpp
+@@ -275,7 +275,7 @@ void ColouriseCamlDoc(
+ // [try to] interpret as [additional] operator char
+ char* o = 0;
+ if (iscaml(ch) || isspace(ch) /* ident or whitespace */
+- || ((o = strchr(")]};,\'\"`#", ch)) != 0)/* "termination" chars */
++ || ((o = (char*)strchr(")]};,\'\"`#", ch)) != 0)/* "termination" chars */
+ || !strchr("!$%&*+-./:<=>?@^|~", ch)/* "operator" chars */) {
+ // check for INCLUSIVE termination
+ if (o && strchr(")]};,", ch)) {