aboutsummaryrefslogtreecommitdiff
path: root/package/kismet
diff options
context:
space:
mode:
authorGravatar Ulf Samuelsson <ulf.samuelsson@atmel.com>2009-01-21 00:17:03 +0000
committerGravatar Ulf Samuelsson <ulf.samuelsson@atmel.com>2009-01-21 00:17:03 +0000
commita57170cb025b57e71cb390a4e66b82bedeae4b2f (patch)
tree8d90975cbe19fa6e7fad52af26ad76011111fc18 /package/kismet
parentd7d5b3852ea4e414de2f6c7417c2631b9e735e9c (diff)
downloadbuildroot-a57170cb025b57e71cb390a4e66b82bedeae4b2f.tar.gz
buildroot-a57170cb025b57e71cb390a4e66b82bedeae4b2f.tar.bz2
add kismet-unpacked target, fix lack of include for memset etc.
Diffstat (limited to 'package/kismet')
-rw-r--r--package/kismet/kismet-2007-10-R1-memset.patch45
-rw-r--r--package/kismet/kismet.mk1
2 files changed, 46 insertions, 0 deletions
diff --git a/package/kismet/kismet-2007-10-R1-memset.patch b/package/kismet/kismet-2007-10-R1-memset.patch
new file mode 100644
index 0000000000..71a3757700
--- /dev/null
+++ b/package/kismet/kismet-2007-10-R1-memset.patch
@@ -0,0 +1,45 @@
+diff -urN kismet-2007-10-R1-0rig//kismet_wrapper.cc kismet-2007-10-R1/kismet_wrapper.cc
+--- kismet-2007-10-R1-0rig//kismet_wrapper.cc 2007-10-06 23:50:03.000000000 +0200
++++ kismet-2007-10-R1/kismet_wrapper.cc 2009-01-21 01:12:42.000000000 +0100
+@@ -27,6 +27,7 @@
+ #include <unistd.h>
+
+ #include "config.h"
++#include <string.h>
+
+ /* Blob of globals since sighandler needs them */
+ vector<string> postcli_err;
+diff -urN kismet-2007-10-R1-0rig//ringbuf.cc kismet-2007-10-R1/ringbuf.cc
+--- kismet-2007-10-R1-0rig//ringbuf.cc 2005-12-11 20:14:39.000000000 +0100
++++ kismet-2007-10-R1/ringbuf.cc 2009-01-21 01:12:26.000000000 +0100
+@@ -17,6 +17,7 @@
+ */
+
+ #include "ringbuf.h"
++#include <string.h>
+
+ RingBuffer::RingBuffer(int in_size) {
+ ring_len = in_size;
+diff -urN kismet-2007-10-R1-0rig//util.cc kismet-2007-10-R1/util.cc
+--- kismet-2007-10-R1-0rig//util.cc 2006-08-28 22:37:29.000000000 +0200
++++ kismet-2007-10-R1/util.cc 2009-01-21 01:12:26.000000000 +0100
+@@ -22,6 +22,7 @@
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <fcntl.h>
++#include <string.h>
+
+ // We need this to make uclibc happy since they don't even have rintf...
+ #ifndef rintf
+diff -urN kismet-2007-10-R1-0rig//util.h kismet-2007-10-R1/util.h
+--- kismet-2007-10-R1-0rig//util.h 2006-08-28 22:37:29.000000000 +0200
++++ kismet-2007-10-R1/util.h 2009-01-21 01:12:26.000000000 +0100
+@@ -65,7 +65,7 @@
+ end = op.end;
+ return *this;
+ }
+-};
++} swt;
+ vector<smart_word_token> SmartStrTokenize(string in_str, string in_split, int return_partial = 1);
+
+ vector<string> LineWrap(string in_txt, unsigned int in_hdr_len, unsigned int in_maxlen);
diff --git a/package/kismet/kismet.mk b/package/kismet/kismet.mk
index 918801c9b1..2e0ac10ddf 100644
--- a/package/kismet/kismet.mk
+++ b/package/kismet/kismet.mk
@@ -62,6 +62,7 @@ $(TARGET_DIR)/$(KISMET_TARGET_DIRECTORY)/$(KISMET_BINARY): $(KISMET_DIR)/$(KISME
kismet: uclibc ncurses libpcap dbus $(TARGET_DIR)/$(KISMET_TARGET_DIRECTORY)/$(KISMET_BINARY)
+kismet-unpacked: $(KISMET_DIR)/.patched
kismet-clean:
rm -f $(TARGET_DIR)/$(KISMET_TARGET_DIRECTORY)/kismet