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
commitead2615526c6647e5f8dda46ca4adc6e55f8a8c6 (patch)
treec40b4d9cf4fcb4cd27dce89dc0fc719171c08b20 /media-gfx/xloadimage
parentdrop >=net-misc/openssh-5.0_p1-r2 mask on aix, works just fine with proper in... (diff)
downloadgentoo-2-ead2615526c6647e5f8dda46ca4adc6e55f8a8c6.tar.gz
gentoo-2-ead2615526c6647e5f8dda46ca4adc6e55f8a8c6.tar.bz2
gentoo-2-ead2615526c6647e5f8dda46ca4adc6e55f8a8c6.zip
Fix building with libpng14.
(Portage version: 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
}