[arch-commits] Commit in kismet/trunk (PKGBUILD kismet-gcc43.patch)
Allan McRae
allan at archlinux.org
Sun Aug 17 05:40:48 UTC 2008
Date: Sunday, August 17, 2008 @ 01:40:48
Author: allan
Revision: 9253
upgpkg: kismet 2007_01_R1b-4
ncurses rebuild
Added:
kismet/trunk/kismet-gcc43.patch
Modified:
kismet/trunk/PKGBUILD
--------------------+
PKGBUILD | 9 ++++++---
kismet-gcc43.patch | 22 ++++++++++++++++++++++
2 files changed, 28 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2008-08-17 05:40:04 UTC (rev 9252)
+++ PKGBUILD 2008-08-17 05:40:48 UTC (rev 9253)
@@ -4,7 +4,7 @@
pkgname=kismet
pkgver=2007_01_R1b
-pkgrel=3
+pkgrel=4
pkgdesc="802.11b sniffing software"
arch=(i686 x86_64)
license=('GPL')
@@ -15,11 +15,14 @@
fi
url="http://www.kismetwireless.net/"
backup=('etc/ap_manuf' 'etc/client_manuf' 'etc/kismet.conf' 'etc/kismet_drone.conf' 'etc/kismet_ui.conf')
-source=(http://www.kismetwireless.net/code/kismet-2007-01-R1b.tar.gz)
-md5sums=('a1dcea71f0c3f881ef72f5bca2db7b39')
+source=(http://www.kismetwireless.net/code/kismet-2007-01-R1b.tar.gz
+ kismet-gcc43.patch)
+md5sums=('a1dcea71f0c3f881ef72f5bca2db7b39'
+ '6588e63abb801bee918b2b2f375e2fab')
build() {
cd $startdir/src/kismet-2007-01-R1b
+ patch -Np1 -i $srcdir/kismet-gcc43.patch
if [ $CARCH == "x86_64" ]; then
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
Added: kismet-gcc43.patch
===================================================================
--- kismet-gcc43.patch (rev 0)
+++ kismet-gcc43.patch 2008-08-17 05:40:48 UTC (rev 9253)
@@ -0,0 +1,22 @@
+diff -Naur kismet-2007-01-R1b-old/ringbuf.cc kismet-2007-01-R1b/ringbuf.cc
+--- kismet-2007-01-R1b-old/ringbuf.cc 2005-12-12 05:14:39.000000000 +1000
++++ kismet-2007-01-R1b/ringbuf.cc 2008-08-16 22:49:23.000000000 +1000
+@@ -17,6 +17,7 @@
+ */
+
+ #include "ringbuf.h"
++#include <cstring>
+
+ RingBuffer::RingBuffer(int in_size) {
+ ring_len = in_size;
+diff -Naur kismet-2007-01-R1b-old/util.cc kismet-2007-01-R1b/util.cc
+--- kismet-2007-01-R1b-old/util.cc 2006-08-29 06:37:29.000000000 +1000
++++ kismet-2007-01-R1b/util.cc 2008-08-16 22:47:57.000000000 +1000
+@@ -22,6 +22,7 @@
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <fcntl.h>
++#include <cstring>
+
+ // We need this to make uclibc happy since they don't even have rintf...
+ #ifndef rintf
More information about the arch-commits
mailing list