From 6e8eaba49dfe58eca220cc9482e807fc3092cc5f Mon Sep 17 00:00:00 2001 From: Michael Sterrett Date: Sat, 21 Nov 2015 22:45:31 -0500 Subject: use epatch to apply patch Package-Manager: portage-2.2.20.1 --- games-arcade/yarsrevenge/yarsrevenge-0.99.ebuild | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'games-arcade') diff --git a/games-arcade/yarsrevenge/yarsrevenge-0.99.ebuild b/games-arcade/yarsrevenge/yarsrevenge-0.99.ebuild index 5d37d87c35b6..527ea8ebef68 100644 --- a/games-arcade/yarsrevenge/yarsrevenge-0.99.ebuild +++ b/games-arcade/yarsrevenge/yarsrevenge-0.99.ebuild @@ -15,14 +15,16 @@ KEYWORDS="amd64 ~ppc sparc x86 ~x86-fbsd" IUSE="" DEPEND="media-libs/libsdl[sound,joystick,video]" -RDEPEND="${DEPEND}" +RDEPEND=${DEPEND} + S=${WORKDIR}/yar-${PV} -PATCHES=( - "${FILESDIR}"/${PV}-math.patch - "${FILESDIR}"/${P}-gcc43.patch - "${FILESDIR}"/${P}-gcc44.patch -) +src_prepare() { + epatch \ + "${FILESDIR}"/${PV}-math.patch \ + "${FILESDIR}"/${P}-gcc43.patch \ + "${FILESDIR}"/${P}-gcc44.patch +} src_install() { default -- cgit v1.2.3-65-gdbad