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