From 04dbfe60bb23a22b1521b632556efa81d34fa77e Mon Sep 17 00:00:00 2001 From: Sam James Date: Fri, 10 Mar 2023 13:39:10 +0000 Subject: [PATCH] net-analyzer/fprobe: fix configure w/ clang 16 Closes: https://bugs.gentoo.org/899924 Signed-off-by: Sam James --- .../{fprobe-1.1-r5.ebuild => fprobe-1.1-r6.ebuild} | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) rename net-analyzer/fprobe/{fprobe-1.1-r5.ebuild => fprobe-1.1-r6.ebuild} (80%) diff --git a/net-analyzer/fprobe/fprobe-1.1-r5.ebuild b/net-analyzer/fprobe/fprobe-1.1-r6.ebuild similarity index 80% rename from net-analyzer/fprobe/fprobe-1.1-r5.ebuild rename to net-analyzer/fprobe/fprobe-1.1-r6.ebuild index 1aee1c4aa4f37..b873e1f9619b3 100644 --- a/net-analyzer/fprobe/fprobe-1.1-r5.ebuild +++ b/net-analyzer/fprobe/fprobe-1.1-r6.ebuild @@ -1,10 +1,12 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 +inherit autotools + DESCRIPTION="libpcap-based tool to collect network traffic data and emit it as NetFlow flows" -HOMEPAGE="http://fprobe.sourceforge.net" +HOMEPAGE="https://fprobe.sourceforge.net" SRC_URI="mirror://sourceforge/fprobe/${P}.tar.bz2" LICENSE="GPL-2" @@ -20,6 +22,13 @@ PATCHES=( "${FILESDIR}"/fprobe-1.1-setgroups.patch ) +src_prepare() { + default + + # Clang 16, bug #899924 + eautoreconf +} + src_configure() { econf \ $(use_enable debug) \