mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
use epatch to apply patch
Package-Manager: portage-2.2.20.1
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user