summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-03 21:47:22 +0000
committerSam James <sam@gentoo.org>2021-04-03 21:47:22 +0000
commitc9f518a29c02a674bb3aae54743cd81252143787 (patch)
treefa0f958f27df020d230cb4ac8cc18b19af44d2f6 /media-libs/fidlib
parentapp-cdr/xbiso: cleanup patch (diff)
downloadgentoo-c9f518a29c02a674bb3aae54743cd81252143787.tar.gz
gentoo-c9f518a29c02a674bb3aae54743cd81252143787.tar.bz2
gentoo-c9f518a29c02a674bb3aae54743cd81252143787.zip
media-libs/fidlib: port to EAPI 7
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/fidlib')
-rw-r--r--media-libs/fidlib/fidlib-0.9.10-r1.ebuild12
-rw-r--r--media-libs/fidlib/files/fidlib-0.9.10-extern.patch4
2 files changed, 10 insertions, 6 deletions
diff --git a/media-libs/fidlib/fidlib-0.9.10-r1.ebuild b/media-libs/fidlib/fidlib-0.9.10-r1.ebuild
index 939921d2acf6..43f1384db120 100644
--- a/media-libs/fidlib/fidlib-0.9.10-r1.ebuild
+++ b/media-libs/fidlib/fidlib-0.9.10-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
-inherit toolchain-funcs flag-o-matic eutils multilib
+inherit flag-o-matic toolchain-funcs
DESCRIPTION="Run-time filter design and execution library"
HOMEPAGE="http://uazu.net/fidlib/"
@@ -13,13 +13,17 @@ LICENSE="GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 x86"
+PATCHES=(
+ "${FILESDIR}"/${P}-extern.patch
+)
+
doecho() {
echo "$@"
"$@" || die
}
src_prepare() {
- epatch "${FILESDIR}"/${P}-extern.patch
+ default
# Avoid ICE under gcc-4.6, fixed in 4.6.3
if [[ $(gcc-version) == "4.6" && $(gcc-micro-version) -le 2 ]] ; then
diff --git a/media-libs/fidlib/files/fidlib-0.9.10-extern.patch b/media-libs/fidlib/files/fidlib-0.9.10-extern.patch
index 0e819942907e..691a9e273c46 100644
--- a/media-libs/fidlib/files/fidlib-0.9.10-extern.patch
+++ b/media-libs/fidlib/files/fidlib-0.9.10-extern.patch
@@ -1,5 +1,5 @@
---- fidlib-0.9.10/fidlib.h
-+++ fidlib-0.9.10/fidlib.h
+--- a/fidlib.h
++++ b/fidlib.h
@@ -2,6 +2,13 @@
// fidlib include file
//