summaryrefslogtreecommitdiffstats
path: root/extra/enblend-enfuse/libpng-1.4.patch
diff options
context:
space:
mode:
authorsibel <lesibel at free dot fr>2010-08-13 06:38:33 +0200
committersibel <lesibel at free dot fr>2010-08-13 06:38:33 +0200
commit32fb2c6c715dd22c975650c482921677badfdd58 (patch)
tree17b3f54a5c62f0b06b320855f2949a03c4d553c3 /extra/enblend-enfuse/libpng-1.4.patch
parent92d8f9b857572e960e20eb3c077c60854bf9fab4 (diff)
downloadnutyx-extra-32fb2c6c715dd22c975650c482921677badfdd58.tar.gz
nutyx-extra-32fb2c6c715dd22c975650c482921677badfdd58.tar.bz2
nutyx-extra-32fb2c6c715dd22c975650c482921677badfdd58.tar.xz
nutyx-extra-32fb2c6c715dd22c975650c482921677badfdd58.zip
Ajout de enblend-enfuse#4.0-1
Diffstat (limited to 'extra/enblend-enfuse/libpng-1.4.patch')
-rw-r--r--extra/enblend-enfuse/libpng-1.4.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/extra/enblend-enfuse/libpng-1.4.patch b/extra/enblend-enfuse/libpng-1.4.patch
new file mode 100644
index 000000000..3bf852b58
--- /dev/null
+++ b/extra/enblend-enfuse/libpng-1.4.patch
@@ -0,0 +1,14 @@
+diff -Naur enblend-enfuse-3.2-orig/src/vigra_impex/png.cxx enblend-enfuse-3.2/src/vigra_impex/png.cxx
+--- enblend-enfuse-3.2-orig/src/vigra_impex/png.cxx 2010-01-19 22:09:36.000000000 -0500
++++ enblend-enfuse-3.2/src/vigra_impex/png.cxx 2010-01-19 22:13:43.000000000 -0500
+@@ -275,8 +275,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;
+ }
+