From ac1ad5c387e10ad22cf8ef4f9546b2051864ff26 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sun, 12 Jul 2015 20:40:28 +0200 Subject: [PATCH] kismet: fix build with musl Without these patches kismet does not build with musl. Signed-off-by: Hauke Mehrtens --- .../010-dont-add-host-include-paths.patch | 6 ++--- .../patches/020-musl-include-fixes.patch | 22 +++++++++++++++++++ 2 files changed, 24 insertions(+), 4 deletions(-) create mode 100644 net/kismet/patches/020-musl-include-fixes.patch diff --git a/net/kismet/patches/010-dont-add-host-include-paths.patch b/net/kismet/patches/010-dont-add-host-include-paths.patch index 23a87bdcf..3b1858afb 100644 --- a/net/kismet/patches/010-dont-add-host-include-paths.patch +++ b/net/kismet/patches/010-dont-add-host-include-paths.patch @@ -1,9 +1,7 @@ -diff --git a/configure b/configure -index 6936a47..9a85269 100755 --- a/configure +++ b/configure -@@ -6980,9 +6980,6 @@ else - fi +@@ -5456,9 +5456,6 @@ fi + -# Add additional cflags since some distros bury panel.h diff --git a/net/kismet/patches/020-musl-include-fixes.patch b/net/kismet/patches/020-musl-include-fixes.patch new file mode 100644 index 000000000..7f2d52cb9 --- /dev/null +++ b/net/kismet/patches/020-musl-include-fixes.patch @@ -0,0 +1,22 @@ +--- a/configfile.cc ++++ b/configfile.cc +@@ -24,6 +24,7 @@ + #include + #include + #include ++#include + #include "configfile.h" + #include "util.h" + +--- a/dumpfile_tuntap.cc ++++ b/dumpfile_tuntap.cc +@@ -20,8 +20,8 @@ + + #include + +-#include "dumpfile_tuntap.h" + #include "ifcontrol.h" ++#include "dumpfile_tuntap.h" + #include "ipc_remote.h" + + #ifndef SYS_CYGWIN