summaryrefslogtreecommitdiff
path: root/openwrt/package/kismet/patches/110-uclibc++_fixes.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-06-08 20:21:36 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-06-08 20:21:36 +0000
commitd1c8904eeeaa307dd49d1329c667bad6dd0660de (patch)
tree6dc4010bbf4b4c5c8f1a18bfa766c25c3d8e1699 /openwrt/package/kismet/patches/110-uclibc++_fixes.patch
parent232a26113ece0bb2df492e61173c248838a9adfe (diff)
downloadmtk-20170518-d1c8904eeeaa307dd49d1329c667bad6dd0660de.zip
mtk-20170518-d1c8904eeeaa307dd49d1329c667bad6dd0660de.tar.gz
mtk-20170518-d1c8904eeeaa307dd49d1329c667bad6dd0660de.tar.bz2
fix kismet-server and add mostlyclean target
SVN-Revision: 1177
Diffstat (limited to 'openwrt/package/kismet/patches/110-uclibc++_fixes.patch')
-rw-r--r--openwrt/package/kismet/patches/110-uclibc++_fixes.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/openwrt/package/kismet/patches/110-uclibc++_fixes.patch b/openwrt/package/kismet/patches/110-uclibc++_fixes.patch
index 4cf5a7b..66fc77e 100644
--- a/openwrt/package/kismet/patches/110-uclibc++_fixes.patch
+++ b/openwrt/package/kismet/patches/110-uclibc++_fixes.patch
@@ -27,3 +27,15 @@ diff -urN kismet-2005-04-R1.old/macaddr.h kismet-2005-04-R1.dev/macaddr.h
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 = "";
+ }
+ }
+