summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-08-05 22:59:04 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-08-05 22:59:04 +0000
commit6d50ba50e3d21335ec6a1572255d7d6e1416e2f6 (patch)
tree9354044633eee89f3ad5e97a5a26cbd4a40d9ea0 /app-editors/cssed/files
parentcsri is gone in master (diff)
downloadgentoo-2-6d50ba50e3d21335ec6a1572255d7d6e1416e2f6.tar.gz
gentoo-2-6d50ba50e3d21335ec6a1572255d7d6e1416e2f6.tar.bz2
gentoo-2-6d50ba50e3d21335ec6a1572255d7d6e1416e2f6.zip
Fix building with GCC 4.4+ and GLIBC 2.10+ wrt #273886.
(Portage version: 2.2_rc36/cvs/Linux x86_64)
Diffstat (limited to 'app-editors/cssed/files')
-rw-r--r--app-editors/cssed/files/cssed-0.4.0-glibc-2.10.patch12
1 files changed, 12 insertions, 0 deletions
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 */) {