diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2015-11-22 00:57:52 -0500 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2015-11-22 00:57:52 -0500 |
commit | c945c1942af443e1959a6f1e144010ad4595d489 (patch) | |
tree | bc5db95235318a4c21fe558f7eb94ca75f5563b7 /games-arcade/amphetamine/amphetamine-0.8.10.ebuild | |
parent | use epatch to apply patch (diff) | |
download | gentoo-c945c1942af443e1959a6f1e144010ad4595d489.tar.gz gentoo-c945c1942af443e1959a6f1e144010ad4595d489.tar.bz2 gentoo-c945c1942af443e1959a6f1e144010ad4595d489.zip |
use epatch to apply patch
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'games-arcade/amphetamine/amphetamine-0.8.10.ebuild')
-rw-r--r-- | games-arcade/amphetamine/amphetamine-0.8.10.ebuild | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/games-arcade/amphetamine/amphetamine-0.8.10.ebuild b/games-arcade/amphetamine/amphetamine-0.8.10.ebuild index 73d9b27173cc..a93e702fa079 100644 --- a/games-arcade/amphetamine/amphetamine-0.8.10.ebuild +++ b/games-arcade/amphetamine/amphetamine-0.8.10.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=4 +EAPI=5 inherit eutils games DESCRIPTION="a cool Jump'n Run game offering some unique visual effects" @@ -17,12 +17,14 @@ IUSE="" DEPEND="media-libs/libsdl[sound,video] x11-libs/libXpm" -RDEPEND="${DEPEND}" +RDEPEND=${DEPEND} -PATCHES=( - "${FILESDIR}"/${P}-build.patch - "${FILESDIR}"/${P}-64bit.patch -) +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-build.patch \ + "${FILESDIR}"/${P}-64bit.patch + sed -i -e '55d' src/ObjInfo.cpp || die +} src_compile() { emake INSTALL_DIR="${GAMES_DATADIR}"/${PN} |