diff options
author | Tristan Heaven <nyhm@gentoo.org> | 2009-06-17 23:13:37 +0000 |
---|---|---|
committer | Tristan Heaven <nyhm@gentoo.org> | 2009-06-17 23:13:37 +0000 |
commit | aa4262a339f6d040b1152108f1806d3b780dedd2 (patch) | |
tree | 5b5d3a061c0bfcca3c24fdfe7606a73c6b370924 /games-arcade/gunocide2ex/files | |
parent | Version bumped. (diff) | |
download | gentoo-2-aa4262a339f6d040b1152108f1806d3b780dedd2.tar.gz gentoo-2-aa4262a339f6d040b1152108f1806d3b780dedd2.tar.bz2 gentoo-2-aa4262a339f6d040b1152108f1806d3b780dedd2.zip |
Fix building with glibc-2.10, bug #273602
(Portage version: 2.2_rc33/cvs/Linux i686)
Diffstat (limited to 'games-arcade/gunocide2ex/files')
-rw-r--r-- | games-arcade/gunocide2ex/files/gunocide2ex-1.0-glibc2.10.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/games-arcade/gunocide2ex/files/gunocide2ex-1.0-glibc2.10.patch b/games-arcade/gunocide2ex/files/gunocide2ex-1.0-glibc2.10.patch new file mode 100644 index 000000000000..6b659c76a82d --- /dev/null +++ b/games-arcade/gunocide2ex/files/gunocide2ex-1.0-glibc2.10.patch @@ -0,0 +1,14 @@ +--- src/mmgr.cpp ++++ src/mmgr.cpp +@@ -228,9 +228,9 @@ +
+ static const char *sourceFileStripper(const char *sourceFile)
+ {
+- char *ptr = strrchr(sourceFile, '\\');
++ char *ptr = strrchr((char *)sourceFile, '\\');
+ if (ptr) return ptr + 1;
+- ptr = strrchr(sourceFile, '/');
++ ptr = strrchr((char *)sourceFile, '/');
+ if (ptr) return ptr + 1;
+ return sourceFile;
+ }
|