components/imagemagick/patches/png.patch
author Vladimir Marek <Vladimir.Marek@oracle.com>
Thu, 08 Dec 2016 17:02:09 +0100
branchs11u3-sru
changeset 7538 1668450ff96c
parent 168 5884bc1edfdf
permissions -rw-r--r--
24788889 Update ImageMagick to 6.9.6-7 24788980 problem in UTILITY/IMAGEMAGICK 25231110 Imagemgick needs minor modifications

The history of this patch is unknown: it existed when ImageMagick was
migrated to Userland.

--- ImageMagick-6.8.3/coders/png.c.~1~	2013-02-15 04:48:48.000000000 -0800
+++ ImageMagick-6.8.3/coders/png.c	2015-02-10 20:39:14.131500401 -0800
@@ -100,6 +100,10 @@
 
 #include "png.h"
 #include "zlib.h"
+#if PNG_LIBPNG_VER >= 10400
+#define trans_values trans_color
+#define trans trans_alpha
+#endif
 
 /* ImageMagick differences */
 #define first_scene scene