summaryrefslogtreecommitdiff
path: root/openwrt/package/kismet/patches/uclibc++-fixes.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-04-26 08:24:51 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-04-26 08:24:51 +0000
commita326afc8d892a824cfd29a595aefc6fdb2bd63c6 (patch)
treedd8fa5dc2a945cd4dfe5578dccff7466144613e0 /openwrt/package/kismet/patches/uclibc++-fixes.patch
parente4e9fab6232ee1fb7efd05224e947f3feff66a2a (diff)
add kismet
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@722 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/kismet/patches/uclibc++-fixes.patch')
-rw-r--r--openwrt/package/kismet/patches/uclibc++-fixes.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/openwrt/package/kismet/patches/uclibc++-fixes.patch b/openwrt/package/kismet/patches/uclibc++-fixes.patch
new file mode 100644
index 0000000000..995d5efed6
--- /dev/null
+++ b/openwrt/package/kismet/patches/uclibc++-fixes.patch
@@ -0,0 +1,30 @@
+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);
+ }
+
+Binary files kismet-2005-04-R1.old/.macaddr.h.swp and kismet-2005-04-R1.dev/.macaddr.h.swp differ