summaryrefslogtreecommitdiff
path: root/extra/slim/libpng-1.4+-support.patch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-07-15 00:03:24 +0000
committerroot <root@rshg054.dnsready.net>2012-07-15 00:03:24 +0000
commit1ed995034acd07688fe8e78b1d40901bcc662155 (patch)
treeef6aab8713a3545c265159f9cd92499df5f289b4 /extra/slim/libpng-1.4+-support.patch
parente0f65a739c6445de07de1585e72c230958d8f011 (diff)
Sun Jul 15 00:03:24 UTC 2012
Diffstat (limited to 'extra/slim/libpng-1.4+-support.patch')
-rw-r--r--extra/slim/libpng-1.4+-support.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/extra/slim/libpng-1.4+-support.patch b/extra/slim/libpng-1.4+-support.patch
new file mode 100644
index 000000000..57b39272b
--- /dev/null
+++ b/extra/slim/libpng-1.4+-support.patch
@@ -0,0 +1,14 @@
+--- a/image.cpp 2012-06-26 04:20:14.000000000 -0400
++++ b/image.cpp 2012-06-27 11:41:34.000000000 -0400
+@@ -781,7 +781,11 @@
+ (png_infopp) NULL);
+ }
+
++#if PNG_LIBPNG_VER_MAJOR >= 1 && PNG_LIBPNG_VER_MINOR >= 4
++ if (setjmp(png_jmpbuf((png_ptr)))) {
++#else
+ if (setjmp(png_ptr->jmpbuf)) {
++#endif
+ goto png_destroy;
+ }
+