diff options
author | Matt Smith <matt@offtopica.uk> | 2021-04-03 17:08:01 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-04-03 21:58:06 +0000 |
commit | f1f651f6deeca7074689e76477177f0ebe44baae (patch) | |
tree | af3ba6769207fd72d4224ee147e6152dd9385577 /net-analyzer/nettop | |
parent | dev-libs/libmba: EAPI 7, eutils--, multilib--, static-libs-- (diff) | |
download | gentoo-f1f651f6deeca7074689e76477177f0ebe44baae.tar.gz gentoo-f1f651f6deeca7074689e76477177f0ebe44baae.tar.bz2 gentoo-f1f651f6deeca7074689e76477177f0ebe44baae.zip |
net-analyzer/nettop: EAPI 7
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Matt Smith <matt@offtopica.uk>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-analyzer/nettop')
-rw-r--r-- | net-analyzer/nettop/nettop-0.2.3-r2.ebuild | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/net-analyzer/nettop/nettop-0.2.3-r2.ebuild b/net-analyzer/nettop/nettop-0.2.3-r2.ebuild index f0bb7d6d1368..7128eaac5191 100644 --- a/net-analyzer/nettop/nettop-0.2.3-r2.ebuild +++ b/net-analyzer/nettop/nettop-0.2.3-r2.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 -inherit epatch toolchain-funcs +inherit toolchain-funcs DESCRIPTION="top-like program for network activity" SRC_URI="mirror://gentoo/${P}.tar.gz" @@ -19,10 +19,13 @@ DEPEND=" " RDEPEND="${DEPEND}" +PATCHES=( + "${FILESDIR}"/${P}-gcc411.patch + "${FILESDIR}"/${P}-offbyone.patch +) + src_prepare() { - epatch \ - "${FILESDIR}"/${P}-gcc411.patch \ - "${FILESDIR}"/${P}-offbyone.patch + default tc-export CC } |