fix kismet client (uclibc++ bug)
authorFelix Fietkau <nbd@openwrt.org>
Fri, 1 Jul 2005 14:58:12 +0000 (14:58 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 1 Jul 2005 14:58:12 +0000 (14:58 +0000)
SVN-Revision: 1301

openwrt/package/kismet/Makefile
openwrt/package/kismet/patches/110-uclibc++_fixes.patch

index e6af133f30b5eaca045961c8aff7d28d6fd394eb..0f9c0cd26edbf4971f271e08bc80fa350ae78baa 100644 (file)
@@ -4,7 +4,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=kismet
 PKG_VERSION:=2005-04-R1
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 PKG_MD5SUM:=19b4f192eb11a418ed3f6bf65c1226af
 
 PKG_SOURCE_URL:=http://www.kismetwireless.net/code
index 66fc77e077664b4d463317f031d5db65a73df6dd..d27bca07b3e4bc3f0148916181ff98846fee0773 100644 (file)
@@ -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 = "";
+         }
+     }