commit: 4676cf62becf4ac41e04549f10592c1eb15cf378 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Mon Jul 16 18:35:01 2018 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Mon Jul 16 22:25:56 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4676cf62
media-libs/dumb: EAPI-6 bump Package-Manager: Portage-2.3.43, Repoman-2.3.10 media-libs/dumb/dumb-0.9.3-r3.ebuild | 16 +++++++++++----- 1 file 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 e6115a753b4..f71ed0178b2 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