summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-03-10 17:37:06 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-03-10 17:37:06 +0000
commit3e111c96848088c258e3a4e66eb0cd1f7fc5bf5a (patch)
treeff855042b098efba002a42a3cdcf780d983bc40e /media-gfx/xloadimage
parentdrop >=net-misc/openssh-5.0_p1-r2 mask on aix, works just fine with proper in... (diff)
downloadhistorical-3e111c96848088c258e3a4e66eb0cd1f7fc5bf5a.tar.gz
historical-3e111c96848088c258e3a4e66eb0cd1f7fc5bf5a.tar.bz2
historical-3e111c96848088c258e3a4e66eb0cd1f7fc5bf5a.zip
Fix building with libpng14.
Package-Manager: portage-2.2_rc66/cvs/Linux x86_64
Diffstat (limited to 'media-gfx/xloadimage')
-rw-r--r--media-gfx/xloadimage/ChangeLog6
-rw-r--r--media-gfx/xloadimage/xloadimage-4.1-r10.ebuild6
2 files changed, 10 insertions, 2 deletions
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 <ssuominen@gentoo.org>
+ xloadimage-4.1-r10.ebuild:
+ Fix building with libpng14.
22 Jan 2010; Samuli Suominen <ssuominen@gentoo.org>
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
}