add more config files to kismet, remove sound and speech features
[openwrt/staging/dedeckeh.git] / openwrt / package / kismet / patches / 110-uclibc++_fixes.patch
diff --git a/openwrt/package/kismet/patches/110-uclibc++_fixes.patch b/openwrt/package/kismet/patches/110-uclibc++_fixes.patch
new file mode 100644 (file)
index 0000000..4cf5a7b
--- /dev/null
@@ -0,0 +1,29 @@
+diff -urN kismet-2005-04-R1.old/configfile.cc kismet-2005-04-R1.dev/configfile.cc
+--- kismet-2005-04-R1.old/configfile.cc        2005-04-03 07:33:42.000000000 +0200
++++ kismet-2005-04-R1.dev/configfile.cc        2005-04-26 01:37:32.000000000 +0200
+@@ -24,6 +24,7 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <errno.h>
++#include <time.h>
+ #include "configfile.h"
+ #include "util.h"
+diff -urN kismet-2005-04-R1.old/macaddr.h kismet-2005-04-R1.dev/macaddr.h
+--- kismet-2005-04-R1.old/macaddr.h    2005-04-03 07:33:42.000000000 +0200
++++ kismet-2005-04-R1.dev/macaddr.h    2005-04-26 01:42:38.000000000 +0200
+@@ -321,12 +321,12 @@
+         }
+         // equal
+-        inline bool operator==(const iterator& op) const {
++        inline bool operator==(const iterator& op) {
+             return (singleton_itr == op.singleton_itr) && (vector_itr == op.vector_itr);
+         }
+         // not
+-        inline bool operator!=(const iterator& op) const {
++        inline bool operator!=(const iterator& op) {
+             return (singleton_itr != op.singleton_itr) || (vector_itr != op.vector_itr);
+         }