diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2010-03-09 06:27:40 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2010-03-09 06:27:40 +0000 |
commit | e0f32ca56227f38220ee8af79429ce4f060c2655 (patch) | |
tree | 2cce69116944fe1f57a79171aad3adf42d0ade11 /dev-games/irrlicht | |
parent | Restrict libpng depend to libpng12.so.0. (diff) | |
download | gentoo-2-e0f32ca56227f38220ee8af79429ce4f060c2655.tar.gz gentoo-2-e0f32ca56227f38220ee8af79429ce4f060c2655.tar.bz2 gentoo-2-e0f32ca56227f38220ee8af79429ce4f060c2655.zip |
Fix building with libpng14.
(Portage version: 2.2_rc65/cvs/Linux x86_64)
Diffstat (limited to 'dev-games/irrlicht')
-rw-r--r-- | dev-games/irrlicht/ChangeLog | 5 | ||||
-rw-r--r-- | dev-games/irrlicht/irrlicht-1.6.1.ebuild | 6 |
2 files changed, 9 insertions, 2 deletions
diff --git a/dev-games/irrlicht/ChangeLog b/dev-games/irrlicht/ChangeLog index 6f8c413f3de7..d344ff4279c8 100644 --- a/dev-games/irrlicht/ChangeLog +++ b/dev-games/irrlicht/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-games/irrlicht # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-games/irrlicht/ChangeLog,v 1.36 2010/02/23 06:46:48 halcy0n Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-games/irrlicht/ChangeLog,v 1.37 2010/03/09 06:27:40 ssuominen Exp $ + + 09 Mar 2010; Samuli Suominen <ssuominen@gentoo.org> irrlicht-1.6.1.ebuild: + Fix building with libpng14. 23 Feb 2010; Mark Loeser <halcy0n@gentoo.org> -files/irrlicht-1.6.1-fix-directory.patch: diff --git a/dev-games/irrlicht/irrlicht-1.6.1.ebuild b/dev-games/irrlicht/irrlicht-1.6.1.ebuild index c33822f07c0a..706257291a67 100644 --- a/dev-games/irrlicht/irrlicht-1.6.1.ebuild +++ b/dev-games/irrlicht/irrlicht-1.6.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-games/irrlicht/irrlicht-1.6.1.ebuild,v 1.1 2010/01/14 22:17:35 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-games/irrlicht/irrlicht-1.6.1.ebuild,v 1.2 2010/03/09 06:27:40 ssuominen Exp $ EAPI=2 inherit eutils toolchain-funcs @@ -45,6 +45,10 @@ src_prepare() { -e '/^JPEGLIBOBJ/d' \ -e '/^LIBPNGOBJ/d' \ Makefile || die "sed failed" + + sed -i \ + -e 's:png_set_gray_1_2_4_to_8:png_set_expand_gray_1_2_4_to_8:' \ + CImageLoaderPNG.cpp || die } src_compile() { |