summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-03-09 19:25:41 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-03-09 19:25:41 +0000
commitb7097c9e1ce87c8ceaf4ac2337d61e7a1285a381 (patch)
tree1ba4799b7c851f99d3b3cfad445b93205c1a461e /games-arcade
parentoups, i forgot to add 'Masked for removal in 30 days' (diff)
downloadgentoo-2-b7097c9e1ce87c8ceaf4ac2337d61e7a1285a381.tar.gz
gentoo-2-b7097c9e1ce87c8ceaf4ac2337d61e7a1285a381.tar.bz2
gentoo-2-b7097c9e1ce87c8ceaf4ac2337d61e7a1285a381.zip
Fix building with libpng14 by Locke Shinseiko (Wizzleby).
(Portage version: 2.2_rc66/cvs/Linux x86_64)
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/stepmania/ChangeLog6
-rw-r--r--games-arcade/stepmania/stepmania-3.9-r2.ebuild7
2 files changed, 11 insertions, 2 deletions
diff --git a/games-arcade/stepmania/ChangeLog b/games-arcade/stepmania/ChangeLog
index 1367513ee1c2..cbbfc39bd715 100644
--- a/games-arcade/stepmania/ChangeLog
+++ b/games-arcade/stepmania/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-arcade/stepmania
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/stepmania/ChangeLog,v 1.33 2010/02/24 21:26:02 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/stepmania/ChangeLog,v 1.34 2010/03/09 19:25:41 ssuominen Exp $
+
+ 09 Mar 2010; Samuli Suominen <ssuominen@gentoo.org>
+ stepmania-3.9-r2.ebuild:
+ Fix building with libpng14 by Locke Shinseiko (Wizzleby).
*stepmania-3.9-r2 (24 Feb 2010)
diff --git a/games-arcade/stepmania/stepmania-3.9-r2.ebuild b/games-arcade/stepmania/stepmania-3.9-r2.ebuild
index 8baa2b7ad6b7..e5766d86fbdb 100644
--- a/games-arcade/stepmania/stepmania-3.9-r2.ebuild
+++ b/games-arcade/stepmania/stepmania-3.9-r2.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/games-arcade/stepmania/stepmania-3.9-r2.ebuild,v 1.2 2010/03/01 16:50:12 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/stepmania/stepmania-3.9-r2.ebuild,v 1.3 2010/03/09 19:25:41 ssuominen Exp $
EAPI=2
inherit autotools eutils games
@@ -39,6 +39,11 @@ src_prepare() {
"${FILESDIR}"/${P}-gentoo.patch > "${T}"/${P}.patch
EPATCH_SUFFIX=patch epatch "${T}"/${P}.patch "${WORKDIR}"/patches
+
+ sed -i \
+ -e 's:png_set_gray_1_2_4_to_8:png_set_expand_gray_1_2_4_to_8:' \
+ src/RageSurface_Load_PNG.cpp || die
+
AT_M4DIR=autoconf/m4 eautoreconf
}