packages: enblend-enfuse/enblend-enfuse-libpng.patch (NEW) - libpng 1.4 fix

hawk hawk at pld-linux.org
Mon Mar 1 12:45:31 CET 2010


Author: hawk                         Date: Mon Mar  1 11:45:31 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- libpng 1.4 fix

---- Files affected:
packages/enblend-enfuse:
   enblend-enfuse-libpng.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/enblend-enfuse/enblend-enfuse-libpng.patch
diff -u /dev/null packages/enblend-enfuse/enblend-enfuse-libpng.patch:1.1
--- /dev/null	Mon Mar  1 12:45:31 2010
+++ packages/enblend-enfuse/enblend-enfuse-libpng.patch	Mon Mar  1 12:45:26 2010
@@ -0,0 +1,14 @@
+diff -ur enblend-enfuse-4.0-753b534c819d.orig/src/vigra_impex/png.cxx enblend-enfuse-4.0-753b534c819d/src/vigra_impex/png.cxx
+--- enblend-enfuse-4.0-753b534c819d.orig/src/vigra_impex/png.cxx	2009-12-20 16:32:28.000000000 +0100
++++ enblend-enfuse-4.0-753b534c819d/src/vigra_impex/png.cxx	2010-03-01 11:41:51.340281184 +0100
+@@ -274,8 +274,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;
+         }
+ 
================================================================


More information about the pld-cvs-commit mailing list