summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}