From: Michael Sterrett Date: Sun, 22 Nov 2015 03:42:50 +0000 (-0500) Subject: use epatch to apply patch X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=665e32bcae0ed808fed9357cfeb24ff133dca68b;p=gentoo.git use epatch to apply patch Package-Manager: portage-2.2.20.1 --- diff --git a/games-board/gnuchess/gnuchess-6.2.2-r1.ebuild b/games-board/gnuchess/gnuchess-6.2.2-r1.ebuild index 484ec1274266..67be01a6efef 100644 --- a/games-board/gnuchess/gnuchess-6.2.2-r1.ebuild +++ b/games-board/gnuchess/gnuchess-6.2.2-r1.ebuild @@ -3,7 +3,7 @@ # $Id$ EAPI=5 -inherit flag-o-matic games +inherit eutils flag-o-matic games DESCRIPTION="Console based chess interface" HOMEPAGE="https://www.gnu.org/software/chess/chess.html" @@ -14,7 +14,9 @@ LICENSE="GPL-3" SLOT="0" IUSE="" -PATCHES=( "${FILESDIR}"/${P}-addbook.patch ) +src_prepare() { + epatch "${FILESDIR}"/${P}-addbook.patch +} src_configure() { strip-flags # bug #199097