Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-editors/cssed/files: cssed-0.4.0-glibc-2.10.patch
Date: Wed, 05 Aug 2009 22:59:06
Message-Id: E1MYpRo-00042H-Cd@stork.gentoo.org
1 ssuominen 09/08/05 22:59:04
2
3 Added: cssed-0.4.0-glibc-2.10.patch
4 Log:
5 Fix building with GCC 4.4+ and GLIBC 2.10+ wrt #273886.
6 (Portage version: 2.2_rc36/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 app-editors/cssed/files/cssed-0.4.0-glibc-2.10.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/cssed/files/cssed-0.4.0-glibc-2.10.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-editors/cssed/files/cssed-0.4.0-glibc-2.10.patch?rev=1.1&content-type=text/plain
13
14 Index: cssed-0.4.0-glibc-2.10.patch
15 ===================================================================
16 diff -ur cssed-0.4.0.orig/scintilla/src/LexCaml.cxx cssed-0.4.0/scintilla/src/LexCaml.cxx
17 --- cssed-0.4.0.orig/scintilla/src/LexCaml.cxx 2005-05-27 06:30:23.000000000 +0300
18 +++ cssed-0.4.0/scintilla/src/LexCaml.cxx 2009-08-06 01:58:38.000000000 +0300
19 @@ -273,7 +273,7 @@
20
21 case SCE_CAML_OPERATOR: {
22 // [try to] interpret as [additional] operator char
23 - char* o = 0;
24 + const char* o = 0;
25 if (iscaml(ch) || isspace(ch) /* ident or whitespace */
26 || ((o = strchr(")]};,\'\"`#", ch)) != 0)/* "termination" chars */
27 || !strchr("!$%&*+-./:<=>?@^|~", ch)/* "operator" chars */) {