mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
use epatch to apply patch
Package-Manager: portage-2.2.20.1
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=4
|
||||
EAPI=5
|
||||
inherit eutils toolchain-funcs games
|
||||
|
||||
DESCRIPTION="2D platform game"
|
||||
@@ -20,15 +20,16 @@ RDEPEND="virtual/opengl
|
||||
media-libs/libsdl
|
||||
media-libs/sdl-ttf
|
||||
media-libs/sdl-image"
|
||||
DEPEND="${RDEPEND}"
|
||||
DEPEND=${RDEPEND}
|
||||
|
||||
S=${WORKDIR}/${P}-src
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-build.patch
|
||||
"${FILESDIR}"/${P}-gcc44.patch
|
||||
"${FILESDIR}"/${P}-underlink.patch
|
||||
)
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${P}-build.patch \
|
||||
"${FILESDIR}"/${P}-gcc44.patch \
|
||||
"${FILESDIR}"/${P}-underlink.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export AR
|
||||
|
||||
Reference in New Issue
Block a user