aboutsummaryrefslogtreecommitdiffstats
path: root/main/slim/slim-png15.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/slim/slim-png15.patch')
-rw-r--r--main/slim/slim-png15.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/slim/slim-png15.patch b/main/slim/slim-png15.patch
new file mode 100644
index 0000000000..25caaed576
--- /dev/null
+++ b/main/slim/slim-png15.patch
@@ -0,0 +1,11 @@
+--- slim-1.3.2.orig/png.c
++++ slim-1.3.2/png.c
+@@ -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);