fix kismet-server and add mostlyclean target
authorFelix Fietkau <nbd@openwrt.org>
Wed, 8 Jun 2005 20:21:36 +0000 (20:21 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 8 Jun 2005 20:21:36 +0000 (20:21 +0000)
SVN-Revision: 1177

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

index 0ae6b5e24ec00739d30720d0415b8ebf15d46a73..971c40e73fc7f33f8be00b293a57a54065f18e83 100644 (file)
@@ -88,3 +88,6 @@ $(IPKG_KISMET_SERVER):
        $(RSTRIP) $(IDIR_KISMET_SERVER)
        $(IPKG_BUILD) $(IDIR_KISMET_SERVER) $(PACKAGE_DIR)
 
+mostlyclean:
+       $(MAKE) -C $(PKG_BUILD_DIR) clean
+       rm -f $(PKG_BUILD_DIR)/.built
index 4cf5a7b5b53a1d7cabfb18365e8d676835c83659..66fc77e077664b4d463317f031d5db65a73df6dd 100644 (file)
@@ -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 = "";
+       }
+     }