summaryrefslogtreecommitdiff
path: root/openwrt/package
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-07-01 14:54:14 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-07-01 14:54:14 +0000
commit78b05c3494c08cf23714c1f86272a5d48b58bd47 (patch)
treeb554e3dce9a730c01e8d8036ff9905f9c90de897 /openwrt/package
parent3f44b114d77e17c6ef83e6ddfe89c52055148a3b (diff)
fix kismet client (uclibc++ bug)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1300 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package')
-rw-r--r--openwrt/package/kismet/Makefile2
-rw-r--r--openwrt/package/kismet/patches/110-uclibc++_fixes.patch12
2 files changed, 13 insertions, 1 deletions
diff --git a/openwrt/package/kismet/Makefile b/openwrt/package/kismet/Makefile
index 971c40e73f..3308258830 100644
--- a/openwrt/package/kismet/Makefile
+++ b/openwrt/package/kismet/Makefile
@@ -4,7 +4,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=kismet
PKG_VERSION:=2005-04-R1
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_MD5SUM:=19b4f192eb11a418ed3f6bf65c1226af
PKG_SOURCE_URL:=http://www.kismetwireless.net/code
diff --git a/openwrt/package/kismet/patches/110-uclibc++_fixes.patch b/openwrt/package/kismet/patches/110-uclibc++_fixes.patch
index 66fc77e077..d27bca07b3 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 = "";
+ }
+ }
+