aboutsummaryrefslogtreecommitdiff
path: root/graphics/hugin
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2010-03-29 11:47:03 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2010-03-29 11:47:03 +0000
commit4c0c1832bde5d6d7e6d31c86fbc50f5a3849d1be (patch)
treefb6f3267b7c4905c3e369ec7d9c082de125f4098 /graphics/hugin
parent0ea22a27cfaf3e708741a528d55ef109abb694c0 (diff)
downloadports-4c0c1832bde5d6d7e6d31c86fbc50f5a3849d1be.tar.gz
ports-4c0c1832bde5d6d7e6d31c86fbc50f5a3849d1be.zip
- fix build for png-1.4.1
Notes
Notes: svn path=/head/; revision=251715
Diffstat (limited to 'graphics/hugin')
-rw-r--r--graphics/hugin/files/patch-png.cxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/hugin/files/patch-png.cxx b/graphics/hugin/files/patch-png.cxx
new file mode 100644
index 000000000000..5a721b7e269e
--- /dev/null
+++ b/graphics/hugin/files/patch-png.cxx
@@ -0,0 +1,11 @@
+--- src/foreign/vigra/vigra_impex/png.cxx.orig 2009-12-01 23:39:05.000000000 +0100
++++ src/foreign/vigra/vigra_impex/png.cxx 2010-03-29 13:22:16.000000000 +0200
+@@ -272,7 +272,7 @@
+ 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);
++ png_set_expand_gray_1_2_4_to_8(png);
+ bit_depth = 8;
+ }
+