public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/nettop/
Date: Mon, 10 Mar 2025 03:41:06 +0000 (UTC)	[thread overview]
Message-ID: <1741577327.58c8c500c55fe5564c9c8ebd448353890827260a.sam@gentoo> (raw)

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


             reply	other threads:[~2025-03-10  3:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-10  3:41 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-07  6:26 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/nettop/ Joonas Niilola
2022-09-29  4:28 Ionen Wolkens
2022-09-29  4:28 Ionen Wolkens
2021-09-08  1:28 Sam James
2021-04-03 21:58 Sam James
2021-04-03 19:53 Sam James
2016-07-09  8:57 Patrice Clement

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1741577327.58c8c500c55fe5564c9c8ebd448353890827260a.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox