summaryrefslogtreecommitdiff
path: root/net-analyzer/nfdump/files/nfdump-1.7.2-nfreplay-gcc14.patch
blob: 76fba5e0c2fe3ceb918b90033b8cc48cc15fab97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

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;