[arch-commits] Commit in celestia/trunk (libpng14.patch)
Ionut Biru
ibiru at archlinux.org
Mon Jan 18 21:51:45 UTC 2010
Date: Monday, January 18, 2010 @ 16:51:45
Author: ibiru
Revision: 63846
this patch is important
Added:
celestia/trunk/libpng14.patch
----------------+
libpng14.patch | 12 ++++++++++++
1 file changed, 12 insertions(+)
Added: libpng14.patch
===================================================================
--- libpng14.patch (rev 0)
+++ libpng14.patch 2010-01-18 21:51:45 UTC (rev 63846)
@@ -0,0 +1,12 @@
+diff -Nur celestia-1.6.0.orig/src/celengine/image.cpp celestia-1.6.0/src/celengine/image.cpp
+--- celestia-1.6.0.orig/src/celengine/image.cpp 2009-06-22 18:44:08.000000000 +0300
++++ celestia-1.6.0/src/celengine/image.cpp 2010-01-18 23:27:55.000000000 +0200
+@@ -737,7 +737,7 @@
+
+ if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8)
+ {
+- png_set_gray_1_2_4_to_8(png_ptr);
++ png_set_expand_gray_1_2_4_to_8(png_ptr);
+ }
+
+ if (png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS))
More information about the arch-commits
mailing list