summaryrefslogtreecommitdiff
path: root/community/fceux/fceux-2.1.5-gcc46.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/fceux/fceux-2.1.5-gcc46.patch')
-rw-r--r--community/fceux/fceux-2.1.5-gcc46.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/fceux/fceux-2.1.5-gcc46.patch b/community/fceux/fceux-2.1.5-gcc46.patch
new file mode 100644
index 000000000..540382278
--- /dev/null
+++ b/community/fceux/fceux-2.1.5-gcc46.patch
@@ -0,0 +1,11 @@
+--- fceu2.1.5.orig/src/file.cpp 2010-09-18 19:05:09.000000000 -0500
++++ fceu2.1.5/src/file.cpp 2012-12-19 10:47:44.065106719 -0500
+@@ -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;
+