summaryrefslogtreecommitdiff
path: root/package/kismet
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-01-03 17:55:30 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-01-03 17:55:30 +0100
commit4881da11df564c8c989ade4e223b31ee8a993776 (patch)
tree91e1f07da510d5e8750643549359a119b5735491 /package/kismet
parent22b402f8b23c5826c8bf656045129e3909e29a22 (diff)
another bunch of musl fixes, and some libtinfo fixes
Diffstat (limited to 'package/kismet')
-rw-r--r--package/kismet/Makefile2
-rw-r--r--package/kismet/patches/patch-dumpfile_tuntap_h18
2 files changed, 19 insertions, 1 deletions
diff --git a/package/kismet/Makefile b/package/kismet/Makefile
index df52c74b8..110f6f78d 100644
--- a/package/kismet/Makefile
+++ b/package/kismet/Makefile
@@ -29,7 +29,7 @@ $(eval $(call PKG_template,KISMET_DRONE,kismet-drone,${PKG_VERSION}-${PKG_RELEAS
$(eval $(call PKG_template,KISMET_SERVER,kismet-server,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_KISMET_SERVER},${PKG_SECTION}))
AUTOTOOL_STYLE:= autoreconf
-TARGET_LDFLAGS+= -lpthread
+TARGET_LDFLAGS+= -lpthread -ltinfo
CONFIGURE_ARGS+= --sysconfdir=/etc/kismet
pre-build:
diff --git a/package/kismet/patches/patch-dumpfile_tuntap_h b/package/kismet/patches/patch-dumpfile_tuntap_h
new file mode 100644
index 000000000..f669446f5
--- /dev/null
+++ b/package/kismet/patches/patch-dumpfile_tuntap_h
@@ -0,0 +1,18 @@
+--- kismet-2013-03-R1b.orig/dumpfile_tuntap.h 2013-03-27 15:41:48.000000000 +0100
++++ kismet-2013-03-R1b/dumpfile_tuntap.h 2014-01-02 20:53:21.000000000 +0100
+@@ -65,7 +65,15 @@
+ #include "dumpfile.h"
+
+ #ifdef SYS_LINUX
++#if defined(__GLIBC__)
+ #include <linux/if_tun.h>
++#else
++#define IFF_TUN 0x0001
++#define IFF_TAP 0x0002
++#define IFF_NO_PI 0x1000
++#define TUNSETNOCSUM _IOW('T', 200, int)
++#define TUNSETIFF _IOW('T', 202, int)
++#endif
+
+ // Linux IEEE80211 link typ to set
+ #define LNX_LINKTYPE_80211 801