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/nstats/
Date: Fri, 15 Mar 2024 03:39:45 +0000 (UTC)	[thread overview]
Message-ID: <1710472686.7813b06a24a7b86fe187d329dd0ba35b6ee21e20.sam@gentoo> (raw)

commit:     7813b06a24a7b86fe187d329dd0ba35b6ee21e20
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 15 03:05:24 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 15 03:18:06 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7813b06a

net-analyzer/nstats: update EAPI 7 -> 8, filter LTO, fix DEPEND/BDEPEND

* EAPI 8.

* Filter LTO as HOMEPAGE is dead (-> nowhere to report the bug) and it has
conflicting definitions of quit().

* Fix DEPEND/BDEPEND (pkgconfig).

Closes: https://bugs.gentoo.org/861227
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../{nstats-0.4-r3.ebuild => nstats-0.4-r4.ebuild}    | 19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)

diff --git a/net-analyzer/nstats/nstats-0.4-r3.ebuild b/net-analyzer/nstats/nstats-0.4-r4.ebuild
similarity index 80%
rename from net-analyzer/nstats/nstats-0.4-r3.ebuild
rename to net-analyzer/nstats/nstats-0.4-r4.ebuild
index 65b96057aa7b..29ee8957fee9 100644
--- a/net-analyzer/nstats/nstats-0.4-r3.ebuild
+++ b/net-analyzer/nstats/nstats-0.4-r4.ebuild
@@ -1,14 +1,15 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
+
 inherit autotools flag-o-matic
 
 DESCRIPTION="Displays statistics about ethernet traffic including protocol breakdown"
-SRC_URI="http://trash.net/~reeler/nstats/files/${P}.tar.gz"
 HOMEPAGE="http://trash.net/~reeler/nstats/"
-LICENSE="Artistic"
+SRC_URI="http://trash.net/~reeler/nstats/files/${P}.tar.gz"
 
+LICENSE="Artistic"
 SLOT="0"
 KEYWORDS="amd64 ~ppc x86"
 
@@ -16,15 +17,15 @@ RDEPEND="
 	net-libs/libpcap
 	sys-libs/ncurses
 "
-DEPEND="
-	${RDEPEND}
-	virtual/pkgconfig
-"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
 PATCHES=(
 	"${FILESDIR}"/${P}-glibc24.patch
 	"${FILESDIR}"/${P}-makefile.patch
 	"${FILESDIR}"/${P}-tinfo.patch
 )
+
 DOCS=( BUGS doc/TODO doc/ChangeLog )
 
 src_prepare() {
@@ -34,5 +35,7 @@ src_prepare() {
 
 src_configure() {
 	append-cflags -fcommon
+	# Conflicting definitions of quit() (bug #861227)
+	filter-lto
 	default
 }


             reply	other threads:[~2024-03-15  3:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-15  3:39 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-01-18 11:36 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/nstats/ David Seifert
2021-01-07  1:08 Sam James
2021-01-07  0:58 Sam James
2020-02-01  0:02 Jeroen Roovers
2020-01-08 11:17 Jeroen Roovers

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=1710472686.7813b06a24a7b86fe187d329dd0ba35b6ee21e20.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