aboutsummaryrefslogtreecommitdiff
path: root/emulators/raine/files/patch-patch-source_png_savepng.c
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/raine/files/patch-patch-source_png_savepng.c')
-rw-r--r--emulators/raine/files/patch-patch-source_png_savepng.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/emulators/raine/files/patch-patch-source_png_savepng.c b/emulators/raine/files/patch-patch-source_png_savepng.c
new file mode 100644
index 000000000000..110b12470e39
--- /dev/null
+++ b/emulators/raine/files/patch-patch-source_png_savepng.c
@@ -0,0 +1,11 @@
+--- source/png/savepng.c.orig 2005-08-17 12:20:36.000000000 +0200
++++ source/png/savepng.c 2012-05-06 17:19:09.000000000 +0200
+@@ -188,7 +188,7 @@
+ goto Error;
+
+ /* Set error handling. */
+- if (setjmp(png_ptr->jmpbuf)) {
++ if (setjmp(png_jmpbuf(png_ptr))) {
+ /* If we get here, we had a problem reading the file. */
+ goto Error;
+ }