aboutsummaryrefslogtreecommitdiff
path: root/games/xglk/files/patch-xglk_pict.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/xglk/files/patch-xglk_pict.c')
-rw-r--r--games/xglk/files/patch-xglk_pict.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/xglk/files/patch-xglk_pict.c b/games/xglk/files/patch-xglk_pict.c
new file mode 100644
index 000000000000..4249ca2c01c1
--- /dev/null
+++ b/games/xglk/files/patch-xglk_pict.c
@@ -0,0 +1,11 @@
+--- xglk_pict.c.orig 1999-08-26 20:42:12.000000000 +0200
++++ xglk_pict.c 2012-04-29 07:14:20.000000000 +0200
+@@ -385,7 +385,7 @@
+ return NULL;
+ }
+
+- if (setjmp(png_ptr->jmpbuf)) {
++ if (setjmp(png_jmpbuf(png_ptr))) {
+ /* If we jump here, we had a problem reading the file */
+ png_destroy_read_struct(&png_ptr, &info_ptr, NULL);
+ if (rowarray)