nfdump: adjust patches
authorW. Michael Petullo <redacted>
Tue, 3 Jun 2025 14:28:14 +0000 (09:28 -0500)
committerJosef Schlehofer <redacted>
Wed, 11 Jun 2025 09:31:59 +0000 (11:31 +0200)
The second patch, which addresses a problem where the build would
include -I/usr/include, made the first patch obsolete. The first patch
had fixed the detection of pthreads, but this was a red herring caused
by the circumstances surrounding the second.

Signed-off-by: W. Michael Petullo <redacted>
net/nfdump/patches/010-musl-fixes.patch [moved from net/nfdump/patches/020-musl-fixes.patch with 84% similarity]
net/nfdump/patches/010-musl-threads.patch [deleted file]

similarity index 84%
rename from net/nfdump/patches/020-musl-fixes.patch
rename to net/nfdump/patches/010-musl-fixes.patch
index 4d7c495f736582d7d17e16017bba0bf64ff64e63..5894477898e9350e5257a4c260ffc74a3aa0b33f 100644 (file)
@@ -7,8 +7,8 @@
 -AX_CHECK_ZLIB([AM_CONDITIONAL(HAVEZLIB, true) readzpcap="yes"], [AM_CONDITIONAL(HAVEZLIB, false) readzpcap="no"])
 -
  OVS_CHECK_ATOMIC_LIBS
- # Musl includes pthread functions in libc.
- # AX_PTHREAD([],AC_MSG_ERROR(No valid pthread configuration found))
+ AX_PTHREAD([],AC_MSG_ERROR(No valid pthread configuration found))
 --- a/src/nfpcapd/Makefile.am
 +++ b/src/nfpcapd/Makefile.am
 @@ -29,10 +29,4 @@ if HAVEPCAPAPPEND
diff --git a/net/nfdump/patches/010-musl-threads.patch b/net/nfdump/patches/010-musl-threads.patch
deleted file mode 100644 (file)
index 7deca09..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
---- a/configure.ac
-+++ b/configure.ac
-@@ -367,11 +367,12 @@ AM_COND_IF([BUILDNFPCAPD],
- AX_CHECK_ZLIB([AM_CONDITIONAL(HAVEZLIB, true) readzpcap="yes"], [AM_CONDITIONAL(HAVEZLIB, false) readzpcap="no"])
- OVS_CHECK_ATOMIC_LIBS
--AX_PTHREAD([],AC_MSG_ERROR(No valid pthread configuration found))
--
--LIBS="$PTHREAD_LIBS $LIBS"
--CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
--CC="$PTHREAD_CC"
-+# Musl includes pthread functions in libc.
-+# AX_PTHREAD([],AC_MSG_ERROR(No valid pthread configuration found))
-+#
-+# LIBS="$PTHREAD_LIBS $LIBS"
-+# CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
-+# CC="$PTHREAD_CC"
- # Check for structures
- AC_CHECK_MEMBER([struct sockaddr.sa_len],
git clone https://git.99rst.org/PROJECT