summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2005-05-13 01:19:26 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2005-05-13 01:19:26 +0000
commit673fb4f556fe3d89dbc897ba725fa6adf25a780e (patch)
treedf8fa7956a01b88d9981135d1ca9318765f97716 /games-simulation/searchandrescue/files
parents390 love (diff)
downloadhistorical-673fb4f556fe3d89dbc897ba725fa6adf25a780e.tar.gz
historical-673fb4f556fe3d89dbc897ba725fa6adf25a780e.tar.bz2
historical-673fb4f556fe3d89dbc897ba725fa6adf25a780e.zip
version bump (bug #82393)
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'games-simulation/searchandrescue/files')
-rw-r--r--games-simulation/searchandrescue/files/digest-searchandrescue-0.8.22
-rw-r--r--games-simulation/searchandrescue/files/searchandrescue-0.8.2-gcc33.patch31
2 files changed, 33 insertions, 0 deletions
diff --git a/games-simulation/searchandrescue/files/digest-searchandrescue-0.8.2 b/games-simulation/searchandrescue/files/digest-searchandrescue-0.8.2
new file mode 100644
index 000000000000..e0234e832c19
--- /dev/null
+++ b/games-simulation/searchandrescue/files/digest-searchandrescue-0.8.2
@@ -0,0 +1,2 @@
+MD5 f3304fe2e91f329b8494897c398f26f3 SearchAndRescue-0.8.2.tar.bz2 613500
+MD5 3ac0e91b0b3360c4be17fcb5564feca8 SearchAndRescue-data-0.8.2.tar.bz2 7232214
diff --git a/games-simulation/searchandrescue/files/searchandrescue-0.8.2-gcc33.patch b/games-simulation/searchandrescue/files/searchandrescue-0.8.2-gcc33.patch
new file mode 100644
index 000000000000..b1cbe3ff9e65
--- /dev/null
+++ b/games-simulation/searchandrescue/files/searchandrescue-0.8.2-gcc33.patch
@@ -0,0 +1,31 @@
+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.