From: | "Samuli Suominen (ssuominen)" <ssuominen@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in x11-misc/xfe/files: xfe-1.19.2-gcc44.patch |
Date: | Wed, 05 Aug 2009 12:53:17 |
Message-Id: | E1MYfzV-0006U3-Uu@stork.gentoo.org |
1 | ssuominen 09/08/05 12:53:13 |
2 | |
3 | Added: xfe-1.19.2-gcc44.patch |
4 | Log: |
5 | Fix building with GCC 4.4+ and GLIBC 2.10+ wrt #278101. |
6 | (Portage version: 2.2_rc36/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 x11-misc/xfe/files/xfe-1.19.2-gcc44.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/xfe/files/xfe-1.19.2-gcc44.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/xfe/files/xfe-1.19.2-gcc44.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: xfe-1.19.2-gcc44.patch |
15 | =================================================================== |
16 | diff -ur xfe-1.19.2.orig/src/ViewWindow.cpp xfe-1.19.2/src/ViewWindow.cpp |
17 | --- xfe-1.19.2.orig/src/ViewWindow.cpp 2008-07-17 16:13:18.000000000 +0300 |
18 | +++ xfe-1.19.2/src/ViewWindow.cpp 2009-08-05 15:51:36.000000000 +0300 |
19 | @@ -655,7 +655,7 @@ |
20 | { |
21 | FXString buf=viewer->getText(); |
22 | const char* text=buf.text(); |
23 | - char *p = strstr(&text[pos],str.text()); |
24 | + const char *p = strstr(&text[pos],str.text()); |
25 | if(!p) |
26 | return -1; |
27 | return (p-text); |