svn commit: r433017 - head/www/cssed/files
Jan Beich
jbeich at FreeBSD.org
Wed Feb 1 12:29:04 UTC 2017
Author: jbeich
Date: Wed Feb 1 12:29:02 2017
New Revision: 433017
URL: https://svnweb.freebsd.org/changeset/ports/433017
Log:
www/cssed: unbreak with libc++ 3.9
../src/LexCaml.cxx:278:12: error: assigning to 'char *' from incompatible type 'const char *'
|| ((o = strchr(")]};,\'\"`#", ch)) != 0)/* "termination" chars */
^ ~~~~~~~~~~~~~~~~~~~~~~~~~
Reported by: pkg-fallout
Added:
head/www/cssed/files/
head/www/cssed/files/patch-scintilla_src_LexCaml.cxx (contents, props changed)
Added: head/www/cssed/files/patch-scintilla_src_LexCaml.cxx
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/cssed/files/patch-scintilla_src_LexCaml.cxx Wed Feb 1 12:29:02 2017 (r433017)
@@ -0,0 +1,11 @@
+--- scintilla/src/LexCaml.cxx.orig 2005-05-27 03:30:23 UTC
++++ scintilla/src/LexCaml.cxx
+@@ -273,7 +273,7 @@ void ColouriseCamlDoc(
+
+ case SCE_CAML_OPERATOR: {
+ // [try to] interpret as [additional] operator char
+- char* o = 0;
++ const char* o = 0;
+ if (iscaml(ch) || isspace(ch) /* ident or whitespace */
+ || ((o = strchr(")]};,\'\"`#", ch)) != 0)/* "termination" chars */
+ || !strchr("!$%&*+-./:<=>?@^|~", ch)/* "operator" chars */) {
More information about the svn-ports-head
mailing list