diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2005-10-13 20:36:30 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2005-10-13 20:36:30 +0000 |
commit | b9a5fb00842c94e0f71bfd56e18b5c466561d88e (patch) | |
tree | 1e75d146ea343250a29751f6369dc1c03fd5a244 /games-simulation | |
parent | clean older ebuild (diff) | |
download | gentoo-2-b9a5fb00842c94e0f71bfd56e18b5c466561d88e.tar.gz gentoo-2-b9a5fb00842c94e0f71bfd56e18b5c466561d88e.tar.bz2 gentoo-2-b9a5fb00842c94e0f71bfd56e18b5c466561d88e.zip |
unused patch
(Portage version: 2.0.51.22-r3)
Diffstat (limited to 'games-simulation')
-rw-r--r-- | games-simulation/searchandrescue/files/searchandrescue-0.8.1-gcc33.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/games-simulation/searchandrescue/files/searchandrescue-0.8.1-gcc33.patch b/games-simulation/searchandrescue/files/searchandrescue-0.8.1-gcc33.patch deleted file mode 100644 index b1cbe3ff9e65..000000000000 --- a/games-simulation/searchandrescue/files/searchandrescue-0.8.1-gcc33.patch +++ /dev/null @@ -1,31 +0,0 @@ -Work around a gcc-3.3.x bug where redefining prototypes with different -__THROW / attribute(nonnull) markings throws an error: - -string.cpp:31: error: declaration of `char* strcasestr(const char*, const char*)' throws different exceptions -../include/string.h:46: error: than previous declaration `char* strcasestr(const char*, const char*) throw ()' - -basically we just use the glibc strcasestr() instead of the internal one. - -http://bugs.gentoo.org/show_bug.cgi?id=85780 - ---- sar/string.cpp -+++ sar/string.cpp -@@ -38,3 +38,5 @@ - #endif -+#ifndef _GNU_SOURCE - char *strcasestr(const char *haystack, const char *needle); -+#endif - int strpfx(const char *s, const char *pfx); -@@ -222,3 +223,4 @@ - */ -+#ifndef _GNU_SOURCE - char *strcasestr(const char *haystack, const char *needle) - { -@@ -281,6 +281,7 @@ - - return(NULL); - } -+#endif - - /* - * Checks if string pfx is a prefix of string s. |