summaryrefslogtreecommitdiffstats
path: root/academic/celestia/celestia-1.6.0-libpng14.patch
diff options
context:
space:
mode:
author Heinz Wiesinger <pprkut@liwjatan.at>2010-07-25 21:44:44 -0500
committer Erik Hanson <erik@slackbuilds.org>2010-07-25 21:52:42 -0500
commited89d626b0af8bed0d13de89006d8f463189328a (patch)
tree1c7c3e2bee82f1c3771792cc384c441122f5ad47 /academic/celestia/celestia-1.6.0-libpng14.patch
parentc7891ae2d3a6b4962dd7b4e82db0f840144201d2 (diff)
downloadslackbuilds-ed89d626b0af8bed0d13de89006d8f463189328a.tar.gz
slackbuilds-ed89d626b0af8bed0d13de89006d8f463189328a.tar.xz
academic/celestia: Added (Realtime Space Simulation)
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'academic/celestia/celestia-1.6.0-libpng14.patch')
-rw-r--r--academic/celestia/celestia-1.6.0-libpng14.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/academic/celestia/celestia-1.6.0-libpng14.patch b/academic/celestia/celestia-1.6.0-libpng14.patch
new file mode 100644
index 0000000000..ac6f07aeac
--- /dev/null
+++ b/academic/celestia/celestia-1.6.0-libpng14.patch
@@ -0,0 +1,14 @@
+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))