summaryrefslogtreecommitdiff
path: root/graphics/hugin/libpng14-fix.diff
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-07-29 03:50:50 -0500
committerErik Hanson <erik@slackbuilds.org>2010-07-31 22:31:51 -0500
commitd09ccd2766c482549bc1a3b28a9ff568bbe21303 (patch)
tree50ee0717579897bd2a007eaf7440c7b01a5f117f /graphics/hugin/libpng14-fix.diff
parente4f43886bfac6aab702272c29415e26aa4507a21 (diff)
downloadslackbuilds-d09ccd2766c482549bc1a3b28a9ff568bbe21303.tar.gz
graphics/hugin: Added (Panorama photo stitcher)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'graphics/hugin/libpng14-fix.diff')
-rw-r--r--graphics/hugin/libpng14-fix.diff19
1 files changed, 19 insertions, 0 deletions
diff --git a/graphics/hugin/libpng14-fix.diff b/graphics/hugin/libpng14-fix.diff
new file mode 100644
index 0000000000..c6db4691a8
--- /dev/null
+++ b/graphics/hugin/libpng14-fix.diff
@@ -0,0 +1,19 @@
+
+diff -r 827cc1b11702 -r f978e43bbdd4 src/foreign/vigra/vigra_impex/png.cxx
+--- a/src/foreign/vigra/vigra_impex/png.cxx Mon Aug 20 12:59:12 2007 +0000
++++ b/src/foreign/vigra/vigra_impex/png.cxx Mon Feb 01 15:10:49 2010 +0000
+@@ -271,8 +271,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;
+ }
+
+
+
+
+