diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2010-03-08 18:24:08 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2010-03-08 18:24:08 +0000 |
commit | 5339f0396053d9d2fe19a71cf69d647d15f14f7c (patch) | |
tree | 61ba34c4b957544edef79b8e5155c9fb7c2e2d1b /sci-astronomy/celestia/files | |
parent | avoid errors for non *-darwin* CHOSTS (diff) | |
download | gentoo-2-5339f0396053d9d2fe19a71cf69d647d15f14f7c.tar.gz gentoo-2-5339f0396053d9d2fe19a71cf69d647d15f14f7c.tar.bz2 gentoo-2-5339f0396053d9d2fe19a71cf69d647d15f14f7c.zip |
Fix building with libpng14 wrt #307429 by Lars Wendler.
(Portage version: 2.2_rc65/cvs/Linux x86_64)
Diffstat (limited to 'sci-astronomy/celestia/files')
-rw-r--r-- | sci-astronomy/celestia/files/celestia-1.6.0-libpng14.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sci-astronomy/celestia/files/celestia-1.6.0-libpng14.patch b/sci-astronomy/celestia/files/celestia-1.6.0-libpng14.patch new file mode 100644 index 000000000000..ac6f07aeac0d --- /dev/null +++ b/sci-astronomy/celestia/files/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)) |