summaryrefslogtreecommitdiff
path: root/emulators/vba/files/patch-src-Util.cpp
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2013-07-29 14:23:11 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2013-07-29 14:23:11 +0000
commit24a283cefb374e3056070b4c6dab7ef85eece621 (patch)
treeb32111f4543ad05c64b649bb4b02e17b49e0e857 /emulators/vba/files/patch-src-Util.cpp
parent- Fix WWW: line in pkg-descr. (diff)
- Expand creator's name in the Makefile header
- Fix the build on recent versions of FreeBSD (against Clang) - Add a patch from Gentoo to unbreak GTK+ program build - Fix potential buffer overflow (also obtained from Gentoo) - Convert to OptionsNG, utilize new option helpers - Drop WANT_GNOME and USE_GNOME, they are useless - Define LICENSE (GPLv2), remove COPYING from the docs - Make pkg-message word substitution actually work - Generally sanitize and cleanup the Makefile Reported by: pointyhat-west
Notes
Notes: svn path=/head/; revision=323888
Diffstat (limited to 'emulators/vba/files/patch-src-Util.cpp')
-rw-r--r--emulators/vba/files/patch-src-Util.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/emulators/vba/files/patch-src-Util.cpp b/emulators/vba/files/patch-src-Util.cpp
index d9c2d7f2ed3e..6fc6be57bffa 100644
--- a/emulators/vba/files/patch-src-Util.cpp
+++ b/emulators/vba/files/patch-src-Util.cpp
@@ -1,6 +1,6 @@
--- src/Util.cpp.orig 2004-05-20 19:42:37.000000000 +0200
+++ src/Util.cpp 2012-05-02 20:49:07.000000000 +0200
-@@ -79,7 +79,7 @@
+@@ -79,7 +79,7 @@ bool utilWritePNGFile(const char *fileNa
return false;
}
@@ -9,3 +9,12 @@
png_destroy_write_struct(&png_ptr,NULL);
fclose(fp);
return false;
+@@ -984,7 +984,7 @@ void utilWriteData(gzFile gzFile, variab
+
+ gzFile utilGzOpen(const char *file, const char *mode)
+ {
+- utilGzWriteFunc = (int (*)(void *,void * const, unsigned int))gzwrite;
++ utilGzWriteFunc = (int (*)(gzFile, voidp const, unsigned int))gzwrite;
+ utilGzReadFunc = gzread;
+ utilGzCloseFunc = gzclose;
+