packages: fvwm2/fvwm2-libpng15.patch (NEW)=?UTF-8?Q?=20?=- new

adamg adamg at pld-linux.org
Sun Feb 12 15:55:29 CET 2012


Author: adamg                        Date: Sun Feb 12 14:55:28 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new

---- Files affected:
packages/fvwm2:
   fvwm2-libpng15.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/fvwm2/fvwm2-libpng15.patch
diff -u /dev/null packages/fvwm2/fvwm2-libpng15.patch:1.1
--- /dev/null	Sun Feb 12 15:55:29 2012
+++ packages/fvwm2/fvwm2-libpng15.patch	Sun Feb 12 15:55:23 2012
@@ -0,0 +1,22 @@
+--- fvwm-2.5.28/libs/PictureImageLoader.c~	2012-02-12 15:50:18.574827493 +0100
++++ fvwm-2.5.28/libs/PictureImageLoader.c	2012-02-12 15:51:19.288507908 +0100
+@@ -458,16 +458,16 @@
+ 	{
+ 		Fpng_set_expand(Fpng_ptr);
+ 	}
+-	if (Finfo_ptr->color_type == FPNG_COLOR_TYPE_RGB_ALPHA)
++	if (png_get_color_type(Fpng_ptr, Finfo_ptr) == FPNG_COLOR_TYPE_RGB_ALPHA)
+ 	{
+ 		hasa = 1;
+ 	}
+-	if (Finfo_ptr->color_type == FPNG_COLOR_TYPE_GRAY_ALPHA)
++	if (png_get_color_type(Fpng_ptr, Finfo_ptr) == FPNG_COLOR_TYPE_GRAY_ALPHA)
+ 	{
+ 		hasa = 1;
+ 		hasg = 1;
+ 	}
+-	if (Finfo_ptr->color_type == FPNG_COLOR_TYPE_GRAY)
++	if (png_get_color_type(Fpng_ptr, Finfo_ptr) == FPNG_COLOR_TYPE_GRAY)
+ 	{
+ 		hasg = 1;
+ 	}
================================================================


More information about the pld-cvs-commit mailing list