diff options
author | 2012-03-12 19:12:43 +0000 | |
---|---|---|
committer | 2012-03-12 19:12:43 +0000 | |
commit | e7bfebea1b0295a18e976feaa777a9151412f4e2 (patch) | |
tree | 21161cfc2f05cd051d1c48fc668edd18fa1d3436 /games-emulation/fceux/files | |
parent | arm stable, bug #405001 (diff) | |
download | historical-e7bfebea1b0295a18e976feaa777a9151412f4e2.tar.gz historical-e7bfebea1b0295a18e976feaa777a9151412f4e2.tar.bz2 historical-e7bfebea1b0295a18e976feaa777a9151412f4e2.zip |
build with newer gcc (bug #406471) with patch from Markus Rathgeb
Package-Manager: portage-2.1.10.44/cvs/Linux i686
Diffstat (limited to 'games-emulation/fceux/files')
-rw-r--r-- | games-emulation/fceux/files/fceux-2.1.5-gcc46.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/games-emulation/fceux/files/fceux-2.1.5-gcc46.patch b/games-emulation/fceux/files/fceux-2.1.5-gcc46.patch new file mode 100644 index 000000000000..90dacf4bb4a8 --- /dev/null +++ b/games-emulation/fceux/files/fceux-2.1.5-gcc46.patch @@ -0,0 +1,12 @@ +diff -Naur a/fceu2.1.5/src/file.cpp b/fceu2.1.5/src/file.cpp +--- a/fceu2.1.5/src/file.cpp 2010-09-19 00:05:09.000000000 +0000 ++++ b/fceu2.1.5/src/file.cpp 2012-03-01 19:21:25.856204727 +0000 +@@ -310,7 +310,7 @@ + if(magic==0x088b1f) {
+ // maybe gzip...
+
+- void* gzfile = gzopen(fileToOpen.c_str(),"rb");
++ gzFile gzfile = gzopen(fileToOpen.c_str(),"rb");
+ if(gzfile) {
+ delete fp;
+
|