summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <tristan@gentoo.org>2009-06-13 16:25:34 +0000
committerTristan Heaven <tristan@gentoo.org>2009-06-13 16:25:34 +0000
commit919c927e20316e12052efac01a5c51e1f694f100 (patch)
treed342483d7d203df68376a2326f00ef0aa3184d7e /games-fps/avp/files
parentRevbump. Fixes bug 188405 and bug 274017 (diff)
downloadhistorical-919c927e20316e12052efac01a5c51e1f694f100.tar.gz
historical-919c927e20316e12052efac01a5c51e1f694f100.tar.bz2
historical-919c927e20316e12052efac01a5c51e1f694f100.zip
Fix building with glibc-2.10, bug #273588
Package-Manager: portage-2.2_rc33/cvs/Linux i686
Diffstat (limited to 'games-fps/avp/files')
-rw-r--r--games-fps/avp/files/avp-20070130-glibc2.10.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/games-fps/avp/files/avp-20070130-glibc2.10.patch b/games-fps/avp/files/avp-20070130-glibc2.10.patch
new file mode 100644
index 000000000000..908f1a6c047e
--- /dev/null
+++ b/games-fps/avp/files/avp-20070130-glibc2.10.patch
@@ -0,0 +1,11 @@
+--- avp/win95/jsndsup.cpp
++++ avp/win95/jsndsup.cpp
+@@ -109,7 +109,7 @@
+ {
+ if(!SoundSwitchedOn) return (0);
+
+- char * wavname = strrchr (fname, '\\');
++ char * wavname = strrchr ((char *)fname, '\\');
+
+ if (wavname)
+ {