aboutsummaryrefslogtreecommitdiff
path: root/x11/slim/files/patch-png.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11/slim/files/patch-png.c')
-rw-r--r--x11/slim/files/patch-png.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11/slim/files/patch-png.c b/x11/slim/files/patch-png.c
new file mode 100644
index 000000000000..06b60c641b5b
--- /dev/null
+++ b/x11/slim/files/patch-png.c
@@ -0,0 +1,11 @@
+--- png.c.orig 2010-07-08 07:04:10.000000000 +0200
++++ png.c 2012-05-06 10:02:42.000000000 +0200
+@@ -57,7 +57,7 @@
+ return(0);
+ }
+
+- if (setjmp(png_ptr->jmpbuf))
++ if (setjmp(png_jmpbuf(png_ptr)))
+ {
+ png_destroy_read_struct(&png_ptr, &info_ptr, (png_infopp) NULL);
+ fclose(infile);