media-libs/dumb: EAPI-6 bump
authorAndreas Sturmlechner <asturm@gentoo.org>
Mon, 16 Jul 2018 18:35:01 +0000 (20:35 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Mon, 16 Jul 2018 22:25:56 +0000 (00:25 +0200)
Package-Manager: Portage-2.3.43, Repoman-2.3.10

media-libs/dumb/dumb-0.9.3-r3.ebuild

index e6115a753b432e948db089662cf0315832f51463..f71ed0178b24676ce690aa7aa17c8c2967efa08f 100644 (file)
@@ -1,8 +1,9 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-inherit eutils toolchain-funcs multilib-build multilib-minimal
+EAPI=6
+
+inherit toolchain-funcs multilib-build multilib-minimal
 
 DESCRIPTION="IT/XM/S3M/MOD player library with click removal and IT filters"
 HOMEPAGE="http://dumb.sourceforge.net/"
@@ -16,15 +17,20 @@ IUSE="debug"
 RDEPEND=""
 DEPEND=""
 
+PATCHES=(
+       "${FILESDIR}"/${P}-PIC-as-needed.patch
+       "${FILESDIR}"/${P}_CVE-2006-3668.patch
+)
+
 src_prepare() {
+       default
+
        cat << EOF > make/config.txt
 include make/unix.inc
 ALL_TARGETS := core core-examples core-headers
 PREFIX := /usr
 EOF
 
-       epatch "${FILESDIR}"/${P}-PIC-as-needed.patch
-       epatch "${FILESDIR}"/${P}_CVE-2006-3668.patch
        sed -i '/= -s/d' Makefile || die "sed failed"
        cp -f Makefile Makefile.rdy