From: | "Alfredo Tupone (tupone)" <tupone@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in games-simulation/searchandrescue/files: searchandrescue-0.8.2-gcc441.patch |
Date: | Fri, 04 Sep 2009 02:16:29 |
Message-Id: | E1MjTAK-0005IW-Vf@stork.gentoo.org |
1 | tupone 09/09/04 07:25:00 |
2 | |
3 | Added: searchandrescue-0.8.2-gcc441.patch |
4 | Log: |
5 | Fix build with gcc-4.4.1 Bug #283451 |
6 | (Portage version: 2.1.6.13/cvs/Linux i686) |
7 | |
8 | Revision Changes Path |
9 | 1.1 games-simulation/searchandrescue/files/searchandrescue-0.8.2-gcc441.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-simulation/searchandrescue/files/searchandrescue-0.8.2-gcc441.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-simulation/searchandrescue/files/searchandrescue-0.8.2-gcc441.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: searchandrescue-0.8.2-gcc441.patch |
15 | =================================================================== |
16 | --- include/string.h.old 2009-09-04 09:18:54.000000000 +0200 |
17 | +++ include/string.h 2009-09-04 09:19:41.000000000 +0200 |
18 | @@ -43,7 +43,9 @@ |
19 | #ifdef __MSW__ |
20 | extern int strcasecmp(const char *s1, const char *s2); |
21 | #endif |
22 | +#ifndef _GNU_SOURCE |
23 | extern char *strcasestr(const char *haystack, const char *needle); |
24 | +#endif |
25 | extern int strpfx(const char *s, const char *pfx); |
26 | extern int strcasepfx(const char *s, const char *pfx); |