lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

commit ac1ad5c387e10ad22cf8ef4f9546b2051864ff26
parent 71f5ef9b2845f4ff2f7ab074d4c1047946812285
Author: Hauke Mehrtens <hauke@hauke-m.de>
Date:   Sun, 12 Jul 2015 20:40:28 +0200

kismet: fix build with musl

Without these patches kismet does not build with musl.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

Diffstat:
Mnet/kismet/patches/010-dont-add-host-include-paths.patch | 6++----
Anet/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 @@ -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 @@ -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