mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-26 22:06:35 +01:00
ed89d626b0
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
14 lines
424 B
Diff
14 lines
424 B
Diff
http://bugs.gentoo.org/show_bug.cgi?id=307429
|
|
http://repos.archlinux.org/wsvn/packages/celestia/trunk/libpng14.patch
|
|
|
|
--- src/celengine/image.cpp
|
|
+++ src/celengine/image.cpp
|
|
@@ -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))
|