diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2015-07-12 20:40:28 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2015-07-12 20:41:16 +0200 |
commit | ac1ad5c387e10ad22cf8ef4f9546b2051864ff26 (patch) | |
tree | 967c3585b35df75ad546935f4b07566abde3b843 | |
parent | 71f5ef9b2845f4ff2f7ab074d4c1047946812285 (diff) |
kismet: fix build with musl
Without these patches kismet does not build with musl.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r-- | net/kismet/patches/010-dont-add-host-include-paths.patch | 6 | ||||
-rw-r--r-- | net/kismet/patches/020-musl-include-fixes.patch | 22 |
2 files changed, 24 insertions, 4 deletions
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 <stdlib.h> + #include <stdio.h> + #include <errno.h> ++#include <time.h> + #include "configfile.h" + #include "util.h" + +--- a/dumpfile_tuntap.cc ++++ b/dumpfile_tuntap.cc +@@ -20,8 +20,8 @@ + + #include <errno.h> + +-#include "dumpfile_tuntap.h" + #include "ifcontrol.h" ++#include "dumpfile_tuntap.h" + #include "ipc_remote.h" + + #ifndef SYS_CYGWIN |