commit: 58c8c500c55fe5564c9c8ebd448353890827260a Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Mon Mar 10 03:26:32 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Mon Mar 10 03:28:47 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58c8c500
net-analyzer/nettop: build w/ -std=gnu17 Dead upstream, no point in patching (it would be easy though, just signal handler arg). Closes: https://bugs.gentoo.org/944911 Signed-off-by: Sam James <sam <AT> gentoo.org> net-analyzer/nettop/nettop-0.2.3-r2.ebuild | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/net-analyzer/nettop/nettop-0.2.3-r2.ebuild b/net-analyzer/nettop/nettop-0.2.3-r2.ebuild index b160aea01bdc..a6be85c06ff4 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-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit autotools toolchain-funcs +inherit autotools flag-o-matic toolchain-funcs DESCRIPTION="top-like program for network activity" HOMEPAGE="https://web.archive.org/web/20060615083852/http://srparish.net/software/" @@ -32,6 +32,13 @@ src_prepare() { tc-export CC } +src_configure() { + # bug #944911 + append-cflags -std=gnu17 + + econf +} + src_install() { dosbin nettop einstalldocs
