commit:     f1f651f6deeca7074689e76477177f0ebe44baae
Author:     Matt Smith <matt <AT> offtopica <DOT> uk>
AuthorDate: Sat Apr  3 16:08:01 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Apr  3 21:58:06 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1f651f6

net-analyzer/nettop: EAPI 7

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Matt Smith <matt <AT> offtopica.uk>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-analyzer/nettop/nettop-0.2.3-r2.ebuild | 13 ++++++++-----
 1 file 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 f0bb7d6d136..7128eaac519 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
 }
 

Reply via email to