From 3e111c96848088c258e3a4e66eb0cd1f7fc5bf5a Mon Sep 17 00:00:00 2001 From: Samuli Suominen Date: Wed, 10 Mar 2010 17:37:06 +0000 Subject: Fix building with libpng14. Package-Manager: portage-2.2_rc66/cvs/Linux x86_64 --- media-gfx/xloadimage/ChangeLog | 6 +++++- media-gfx/xloadimage/xloadimage-4.1-r10.ebuild | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) (limited to 'media-gfx') diff --git a/media-gfx/xloadimage/ChangeLog b/media-gfx/xloadimage/ChangeLog index 86442e12b69f..2457e48e4bc0 100644 --- a/media-gfx/xloadimage/ChangeLog +++ b/media-gfx/xloadimage/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-gfx/xloadimage # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/xloadimage/ChangeLog,v 1.50 2010/01/22 21:03:52 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/xloadimage/ChangeLog,v 1.51 2010/03/10 17:37:06 ssuominen Exp $ + + 10 Mar 2010; Samuli Suominen + xloadimage-4.1-r10.ebuild: + Fix building with libpng14. 22 Jan 2010; Samuli Suominen xloadimage-4.1-r10.ebuild: diff --git a/media-gfx/xloadimage/xloadimage-4.1-r10.ebuild b/media-gfx/xloadimage/xloadimage-4.1-r10.ebuild index 093c78985b0f..98ff3beb2dcf 100644 --- a/media-gfx/xloadimage/xloadimage-4.1-r10.ebuild +++ b/media-gfx/xloadimage/xloadimage-4.1-r10.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/media-gfx/xloadimage/xloadimage-4.1-r10.ebuild,v 1.9 2010/01/22 21:03:52 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/xloadimage/xloadimage-4.1-r10.ebuild,v 1.10 2010/03/10 17:37:06 ssuominen Exp $ EAPI=2 inherit eutils toolchain-funcs @@ -46,6 +46,10 @@ src_prepare() { epatch "${FILESDIR}"/${P}-unaligned-access.patch epatch "${FILESDIR}"/${P}-ldflags_and_exit.patch + sed -i \ + -e 's:png_set_gray_1_2_4_to_8:png_set_expand_gray_1_2_4_to_8:' \ + png.c || die + chmod +x configure } -- cgit v1.2.3-65-gdbad