diff options
Diffstat (limited to 'extra/celestia/libpng14.patch')
-rw-r--r-- | extra/celestia/libpng14.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/extra/celestia/libpng14.patch b/extra/celestia/libpng14.patch new file mode 100644 index 000000000..1d47637b9 --- /dev/null +++ b/extra/celestia/libpng14.patch @@ -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)) |