diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-07-16 20:35:01 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-07-17 00:25:56 +0200 |
commit | 4676cf62becf4ac41e04549f10592c1eb15cf378 (patch) | |
tree | 80e63620f0f6a471a93b907fab62de4da95dd674 /media-libs/dumb | |
parent | games-rpg/kqlives: Missing || die (diff) | |
download | gentoo-4676cf62becf4ac41e04549f10592c1eb15cf378.tar.gz gentoo-4676cf62becf4ac41e04549f10592c1eb15cf378.tar.bz2 gentoo-4676cf62becf4ac41e04549f10592c1eb15cf378.zip |
media-libs/dumb: EAPI-6 bump
Package-Manager: Portage-2.3.43, Repoman-2.3.10
Diffstat (limited to 'media-libs/dumb')
-rw-r--r-- | media-libs/dumb/dumb-0.9.3-r3.ebuild | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/media-libs/dumb/dumb-0.9.3-r3.ebuild b/media-libs/dumb/dumb-0.9.3-r3.ebuild index e6115a753b43..f71ed0178b24 100644 --- a/media-libs/dumb/dumb-0.9.3-r3.ebuild +++ b/media-libs/dumb/dumb-0.9.3-r3.ebuild @@ -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 |