[75213] trunk/dports/graphics/enblend
ryandesign at macports.org
ryandesign at macports.org
Mon Jan 17 22:47:42 PST 2011
Revision: 75213
http://trac.macports.org/changeset/75213
Author: ryandesign at macports.org
Date: 2011-01-17 22:47:33 -0800 (Mon, 17 Jan 2011)
Log Message:
-----------
enblend: fix build with libpng 1.4; see #28019
Modified Paths:
--------------
trunk/dports/graphics/enblend/Portfile
Added Paths:
-----------
trunk/dports/graphics/enblend/files/
trunk/dports/graphics/enblend/files/libpng14.diff
Modified: trunk/dports/graphics/enblend/Portfile
===================================================================
--- trunk/dports/graphics/enblend/Portfile 2011-01-18 06:17:13 UTC (rev 75212)
+++ trunk/dports/graphics/enblend/Portfile 2011-01-18 06:47:33 UTC (rev 75213)
@@ -28,6 +28,8 @@
port:openexr \
port:freefont-ttf
+patchfiles libpng14.diff
+
configure.args --mandir=${prefix}/share/man \
--enable-image-cache=yes \
--enable-split-doc=no
Added: trunk/dports/graphics/enblend/files/libpng14.diff
===================================================================
--- trunk/dports/graphics/enblend/files/libpng14.diff (rev 0)
+++ trunk/dports/graphics/enblend/files/libpng14.diff 2011-01-18 06:47:33 UTC (rev 75213)
@@ -0,0 +1,13 @@
+--- src/vigra_impex/png.cxx.orig 2009-12-20 09:32:28.000000000 -0600
++++ src/vigra_impex/png.cxx 2011-01-17 23:56:33.000000000 -0600
+@@ -274,8 +274,8 @@
+ // expand gray values to at least one byte size
+ if ( color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8 ) {
+ if (setjmp(png->jmpbuf))
+- vigra_postcondition( false,png_error_message.insert(0, "error in png_set_gray_1_2_4_to_8(): ").c_str());
+- png_set_gray_1_2_4_to_8(png);
++ vigra_postcondition( false,png_error_message.insert(0, "error in png_set_expand_gray_1_2_4_to_8(): ").c_str());
++ png_set_expand_gray_1_2_4_to_8(png);
+ bit_depth = 8;
+ }
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110117/fcb51fce/attachment-0001.html>
More information about the macports-changes
mailing list