From 6d50ba50e3d21335ec6a1572255d7d6e1416e2f6 Mon Sep 17 00:00:00 2001 From: Samuli Suominen Date: Wed, 5 Aug 2009 22:59:04 +0000 Subject: Fix building with GCC 4.4+ and GLIBC 2.10+ wrt #273886. (Portage version: 2.2_rc36/cvs/Linux x86_64) --- app-editors/cssed/files/cssed-0.4.0-glibc-2.10.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 app-editors/cssed/files/cssed-0.4.0-glibc-2.10.patch (limited to 'app-editors/cssed/files') diff --git a/app-editors/cssed/files/cssed-0.4.0-glibc-2.10.patch b/app-editors/cssed/files/cssed-0.4.0-glibc-2.10.patch new file mode 100644 index 000000000000..7ad886514554 --- /dev/null +++ b/app-editors/cssed/files/cssed-0.4.0-glibc-2.10.patch @@ -0,0 +1,12 @@ +diff -ur cssed-0.4.0.orig/scintilla/src/LexCaml.cxx cssed-0.4.0/scintilla/src/LexCaml.cxx +--- cssed-0.4.0.orig/scintilla/src/LexCaml.cxx 2005-05-27 06:30:23.000000000 +0300 ++++ cssed-0.4.0/scintilla/src/LexCaml.cxx 2009-08-06 01:58:38.000000000 +0300 +@@ -273,7 +273,7 @@ + + 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 */) { -- cgit v1.2.3-65-gdbad