Date: Wed, 1 Feb 2017 12:29:02 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r433017 - head/www/cssed/files Message-ID: <201702011229.v11CT2C8064121@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 */) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702011229.v11CT2C8064121>