Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/dumb/
Date: Mon, 16 Jul 2018 22:26:21
Message-Id: 1531779956.4676cf62becf4ac41e04549f10592c1eb15cf378.asturm@gentoo
1 commit: 4676cf62becf4ac41e04549f10592c1eb15cf378
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jul 16 18:35:01 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Mon Jul 16 22:25:56 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4676cf62
7
8 media-libs/dumb: EAPI-6 bump
9
10 Package-Manager: Portage-2.3.43, Repoman-2.3.10
11
12 media-libs/dumb/dumb-0.9.3-r3.ebuild | 16 +++++++++++-----
13 1 file changed, 11 insertions(+), 5 deletions(-)
14
15 diff --git a/media-libs/dumb/dumb-0.9.3-r3.ebuild b/media-libs/dumb/dumb-0.9.3-r3.ebuild
16 index e6115a753b4..f71ed0178b2 100644
17 --- a/media-libs/dumb/dumb-0.9.3-r3.ebuild
18 +++ b/media-libs/dumb/dumb-0.9.3-r3.ebuild
19 @@ -1,8 +1,9 @@
20 -# Copyright 1999-2014 Gentoo Foundation
21 +# Copyright 1999-2018 Gentoo Foundation
22 # Distributed under the terms of the GNU General Public License v2
23
24 -EAPI=5
25 -inherit eutils toolchain-funcs multilib-build multilib-minimal
26 +EAPI=6
27 +
28 +inherit toolchain-funcs multilib-build multilib-minimal
29
30 DESCRIPTION="IT/XM/S3M/MOD player library with click removal and IT filters"
31 HOMEPAGE="http://dumb.sourceforge.net/"
32 @@ -16,15 +17,20 @@ IUSE="debug"
33 RDEPEND=""
34 DEPEND=""
35
36 +PATCHES=(
37 + "${FILESDIR}"/${P}-PIC-as-needed.patch
38 + "${FILESDIR}"/${P}_CVE-2006-3668.patch
39 +)
40 +
41 src_prepare() {
42 + default
43 +
44 cat << EOF > make/config.txt
45 include make/unix.inc
46 ALL_TARGETS := core core-examples core-headers
47 PREFIX := /usr
48 EOF
49
50 - epatch "${FILESDIR}"/${P}-PIC-as-needed.patch
51 - epatch "${FILESDIR}"/${P}_CVE-2006-3668.patch
52 sed -i '/= -s/d' Makefile || die "sed failed"
53 cp -f Makefile Makefile.rdy