packages: nxcomp/nxcomp-libpng15.patch (NEW)=?UTF-8?Q?=20?=- new
adamg
adamg at pld-linux.org
Wed Feb 8 15:39:28 CET 2012
Author: adamg Date: Wed Feb 8 14:39:28 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- new
---- Files affected:
packages/nxcomp:
nxcomp-libpng15.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/nxcomp/nxcomp-libpng15.patch
diff -u /dev/null packages/nxcomp/nxcomp-libpng15.patch:1.1
--- /dev/null Wed Feb 8 15:39:28 2012
+++ packages/nxcomp/nxcomp-libpng15.patch Wed Feb 8 15:39:23 2012
@@ -0,0 +1,29 @@
+--- nxcomp/Pgn.cpp.orig 2012-02-08 15:36:28.513846794 +0100
++++ nxcomp/Pgn.cpp 2012-02-08 15:37:13.490713712 +0100
+@@ -414,7 +414,7 @@
+
+ png_read_info(pngPtr, infoPtr);
+
+- if (infoPtr -> color_type == PNG_COLOR_TYPE_PALETTE)
++ if (png_get_color_type(pngPtr, infoPtr) == PNG_COLOR_TYPE_PALETTE)
+ {
+ png_set_expand(pngPtr);
+ }
+@@ -565,7 +565,7 @@
+
+ png_read_info( pngPtr, infoPtr ) ;
+
+- if (infoPtr -> color_type == PNG_COLOR_TYPE_PALETTE)
++ if (png_get_color_type(pngPtr, infoPtr) == PNG_COLOR_TYPE_PALETTE)
+ {
+ png_set_expand(pngPtr);
+ }
+@@ -709,7 +709,7 @@
+ png_read_info(pngPtr, infoPtr) ;
+
+
+- if (infoPtr -> color_type == PNG_COLOR_TYPE_PALETTE)
++ if (png_get_color_type(pngPtr, infoPtr) == PNG_COLOR_TYPE_PALETTE)
+ {
+ png_set_expand(pngPtr);
+ }
================================================================
More information about the pld-cvs-commit
mailing list