summaryrefslogtreecommitdiffstats
path: root/extra/hugin/libpng14.patch
diff options
context:
space:
mode:
authorsibel <lesibel at free dot fr>2010-08-13 06:40:02 +0200
committersibel <lesibel at free dot fr>2010-08-13 06:40:02 +0200
commita4c154993f0490da2fa7f8af9b7243f2c28b9bdd (patch)
treeaed268cf972d9c14aa6d6aaca9ed038ce557294e /extra/hugin/libpng14.patch
parente04590b897fb9181850038431fd4bb951c6dbda7 (diff)
downloadnutyx-pakxe-a4c154993f0490da2fa7f8af9b7243f2c28b9bdd.tar.gz
nutyx-pakxe-a4c154993f0490da2fa7f8af9b7243f2c28b9bdd.tar.bz2
nutyx-pakxe-a4c154993f0490da2fa7f8af9b7243f2c28b9bdd.tar.xz
nutyx-pakxe-a4c154993f0490da2fa7f8af9b7243f2c28b9bdd.zip
Ajout de hugin#2010.0.0-1
Diffstat (limited to 'extra/hugin/libpng14.patch')
-rw-r--r--extra/hugin/libpng14.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/extra/hugin/libpng14.patch b/extra/hugin/libpng14.patch
new file mode 100644
index 000000000..520ed2b8b
--- /dev/null
+++ b/extra/hugin/libpng14.patch
@@ -0,0 +1,14 @@
+diff -Naur hugin-2009.4.0-orig/src/foreign/vigra/vigra_impex/png.cxx hugin-2009.4.0/src/foreign/vigra/vigra_impex/png.cxx
+--- hugin-2010.0.0/src/foreign/vigra/vigra_impex/png.cxx 2010-01-21 20:13:52.000000000 -0500
++++ hugin-2010.0.0/src/foreign/vigra/vigra_impex/png.cxx 2010-01-21 20:15:01.000000000 -0500
+@@ -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;
+ }
+