aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2010-03-29 19:47:03 +0800
committerdinoex <dinoex@FreeBSD.org>2010-03-29 19:47:03 +0800
commit945ac244d887adae975493c13a1cdf09d38d4beb (patch)
tree4589d8587b709ab5733d03039ad078371488734b /graphics
parent1654e6dfcea80014125adf0054490f0908956c47 (diff)
downloadfreebsd-ports-gnome-945ac244d887adae975493c13a1cdf09d38d4beb.tar.gz
freebsd-ports-gnome-945ac244d887adae975493c13a1cdf09d38d4beb.tar.zst
freebsd-ports-gnome-945ac244d887adae975493c13a1cdf09d38d4beb.zip
- fix build for png-1.4.1
Diffstat (limited to 'graphics')
-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;
+ }
+