summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/xloadimage/xloadimage-4.1-r11.ebuild')
-rw-r--r--media-gfx/xloadimage/xloadimage-4.1-r11.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/media-gfx/xloadimage/xloadimage-4.1-r11.ebuild b/media-gfx/xloadimage/xloadimage-4.1-r11.ebuild
index 338957a0dccc..3f268c4f52f1 100644
--- a/media-gfx/xloadimage/xloadimage-4.1-r11.ebuild
+++ b/media-gfx/xloadimage/xloadimage-4.1-r11.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/xloadimage/xloadimage-4.1-r11.ebuild,v 1.3 2011/08/25 20:51:13 dilfridge Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/xloadimage/xloadimage-4.1-r11.ebuild,v 1.4 2011/09/17 17:09:53 ssuominen Exp $
EAPI=2
inherit autotools eutils toolchain-funcs
@@ -46,6 +46,7 @@ src_prepare() {
epatch "${FILESDIR}"/${P}-unaligned-access.patch
epatch "${FILESDIR}"/${P}-ldflags_and_exit.patch
+ epatch "${FILESDIR}"/${P}-libpng15.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