diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2009-06-05 07:13:59 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2009-06-05 07:13:59 +0000 |
commit | e037a89ec50decf8f62f092bc4147fb41c758c54 (patch) | |
tree | 8df50b13803c66c729916e80e5d3741caa35a4aa /games-emulation/snes9x/files | |
parent | We are still in the second quarter, as pointed out by fauli. (diff) | |
download | gentoo-2-e037a89ec50decf8f62f092bc4147fb41c758c54.tar.gz gentoo-2-e037a89ec50decf8f62f092bc4147fb41c758c54.tar.bz2 gentoo-2-e037a89ec50decf8f62f092bc4147fb41c758c54.zip |
Fix build with gcc-4.4.0
(Portage version: 2.1.6.11/cvs/Linux x86_64)
Diffstat (limited to 'games-emulation/snes9x/files')
-rw-r--r-- | games-emulation/snes9x/files/snes9x-1.43-gcc440.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/games-emulation/snes9x/files/snes9x-1.43-gcc440.patch b/games-emulation/snes9x/files/snes9x-1.43-gcc440.patch new file mode 100644 index 000000000000..b0905c3d8468 --- /dev/null +++ b/games-emulation/snes9x/files/snes9x-1.43-gcc440.patch @@ -0,0 +1,16 @@ +--- unix/unix.cpp.old 2009-06-05 08:52:45.000000000 +0200 ++++ unix/unix.cpp 2009-06-05 08:54:31.000000000 +0200 +@@ -1131,11 +1131,11 @@ + { + *drive = 0; + +- char *slash = strrchr (path, '/'); ++ const char *slash = strrchr (path, '/'); + if (!slash) + slash = strrchr (path, '\\'); + +- char *dot = strrchr (path, '.'); ++ const char *dot = strrchr (path, '.'); + + if (dot && slash && dot < slash) + dot = NULL; |