commit:     de6a4318c844c657ac65786afbfef15db11c09c7
Author:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 22 06:09:07 2015 +0000
Commit:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
CommitDate: Sun Nov 22 06:09:07 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de6a4318

use epatch to apply patch

Package-Manager: portage-2.2.20.1

 games-action/deathchase3d/deathchase3d-0.9.ebuild | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/games-action/deathchase3d/deathchase3d-0.9.ebuild 
b/games-action/deathchase3d/deathchase3d-0.9.ebuild
index 35290c1..8a9b39e 100644
--- a/games-action/deathchase3d/deathchase3d-0.9.ebuild
+++ b/games-action/deathchase3d/deathchase3d-0.9.ebuild
@@ -1,9 +1,9 @@
 # Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
-EAPI=4
 
-inherit games
+EAPI=5
+inherit eutils games
 
 DESCRIPTION="A remake of the Sinclair Spectrum game of the same name"
 HOMEPAGE="http://www.autismuk.freeserve.co.uk/";
@@ -14,10 +14,12 @@ SLOT="0"
 KEYWORDS="amd64 ~ppc x86"
 IUSE=""
 
-DEPEND="media-libs/libsdl"
-RDEPEND="${DEPEND}"
+DEPEND="media-libs/libsdl[video]"
+RDEPEND=${DEPEND}
 
-PATCHES=( "${FILESDIR}"/${P}-underlink.patch )
+src_prepare() {
+       epatch "${FILESDIR}"/${P}-underlink.patch
+}
 
 src_install() {
        dogamesbin "${PN}/${PN}"

Reply via email to