1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-11 00:10:37 +02:00
openwrt-xburst/openwrt/package/kismet/patches/110-uclibc++_fixes.patch
nbd 78b05c3494 fix kismet client (uclibc++ bug)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1300 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-07-01 14:54:14 +00:00

54 lines
1.8 KiB
Diff

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);
}
diff -urN kismet-2005-04-R1.old/tcpserver.cc kismet-2005-04-R1.dev/tcpserver.cc
--- kismet-2005-04-R1.old/tcpserver.cc 2005-04-03 07:33:42.000000000 +0200
+++ kismet-2005-04-R1.dev/tcpserver.cc 2005-06-08 23:17:34.000000000 +0200
@@ -373,7 +373,7 @@
return 0;
}
} else {
- copt->wrbuf.erase(0, res);
+ copt->wrbuf = "";
}
}
diff -urN kismet-2005-04-R1.old/tcpclient.cc kismet-2005-04-R1.dev/tcpclient.cc
--- kismet-2005-04-R1.old/tcpclient.cc 2005-04-03 07:33:42.000000000 +0200
+++ kismet-2005-04-R1.dev/tcpclient.cc 2005-07-01 16:42:33.000000000 +0200
@@ -214,7 +214,7 @@
return(-1);
}
} else {
- writebuf.erase(0, res);
+ writebuf = "";
}
}