gentoo-ebuilds/net-analyzer/nfdump/files/nfdump-1.7.2-nfreplay-gcc14.patch
Cristian Othón Martínez Vera 0e0b179988
net-analyzer/nfdump: fix musl compilation for version 1.7.4
Closes: https://bugs.gentoo.org/934056
Signed-off-by: Cristian Othón Martínez Vera <cfuga@cfuga.mx>
Closes: https://github.com/gentoo/gentoo/pull/40091
Signed-off-by: Sam James <sam@gentoo.org>
2025-03-08 01:36:01 +00:00

21 lines
461 B
Diff

https://github.com/phaag/nfdump/commit/0b2796b52e1793b6e2eba29baf7f456217372965
From: Peter Haag <peter@people.ops-trust.net>
Date: Tue, 20 Aug 2024 21:00:18 +0200
Subject: [PATCH] Make gcc-14 happy
--- a/src/nfreplay/nfreplay.c
+++ b/src/nfreplay/nfreplay.c
@@ -74,9 +74,11 @@
#ifdef HAVE___FPURGE
#define FPURGE __fpurge
#endif
+#ifndef FPURGE
#ifdef HAVE_FPURGE
#define FPURGE fpurge
#endif
+#endif
/* Local Variables */
static int verbose = 0;