diff options
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;
+
|