summaryrefslogtreecommitdiff
path: root/openwrt/package/kismet/patches
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-07-01 14:54:14 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-07-01 14:54:14 +0000
commit616485e62ad133c46b2f7ecdda0c25b53d0ec478 (patch)
treeb554e3dce9a730c01e8d8036ff9905f9c90de897 /openwrt/package/kismet/patches
parent491b4e7f9663810664732168bdce9b637355bd25 (diff)
downloadmtk-20170518-616485e62ad133c46b2f7ecdda0c25b53d0ec478.zip
mtk-20170518-616485e62ad133c46b2f7ecdda0c25b53d0ec478.tar.gz
mtk-20170518-616485e62ad133c46b2f7ecdda0c25b53d0ec478.tar.bz2
fix kismet client (uclibc++ bug)
SVN-Revision: 1300
Diffstat (limited to 'openwrt/package/kismet/patches')
-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 66fc77e..d27bca0 100644
--- a/openwrt/package/kismet/patches/110-uclibc++_fixes.patch
+++ b/openwrt/package/kismet/patches/110-uclibc++_fixes.patch
@@ -39,3 +39,15 @@ diff -urN kismet-2005-04-R1.old/tcpserver.cc kismet-2005-04-R1.dev/tcpserver.cc
}
}
+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 = "";
+ }
+ }
+