Skip to content

Commit

Permalink
use epatch to apply patch
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.20.1
  • Loading branch information
Michael Sterrett committed Nov 22, 2015
1 parent 665e32b commit 6e8eaba
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions games-arcade/yarsrevenge/yarsrevenge-0.99.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6e8eaba

Please sign in to comment.