summaryrefslogtreecommitdiff
path: root/emulators/raine/patches/patch-source_png_savepng.c
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/raine/patches/patch-source_png_savepng.c')
-rw-r--r--emulators/raine/patches/patch-source_png_savepng.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/emulators/raine/patches/patch-source_png_savepng.c b/emulators/raine/patches/patch-source_png_savepng.c
new file mode 100644
index 00000000000..2b9e05c657b
--- /dev/null
+++ b/emulators/raine/patches/patch-source_png_savepng.c
@@ -0,0 +1,13 @@
+$NetBSD: patch-source_png_savepng.c,v 1.1 2011/03/14 12:04:31 obache Exp $
+
+--- source/png/savepng.c.orig 2005-08-17 10:20:36.000000000 +0000
++++ source/png/savepng.c
+@@ -188,7 +188,7 @@ static int really_save_png(PACKFILE *fp,
+ 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;
+ }