rpms/kismet/devel kismet-2007-01-R1-gcc43.patch, NONE, 1.1 kismet.spec, 1.12, 1.13

Enrico Scholz (ensc) fedora-extras-commits at redhat.com
Fri Feb 22 16:12:02 UTC 2008


Author: ensc

Update of /cvs/extras/rpms/kismet/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4291

Modified Files:
	kismet.spec 
Added Files:
	kismet-2007-01-R1-gcc43.patch 
Log Message:
fixed build with gcc43 (#434084, thx to Erik van Pienbroek)


kismet-2007-01-R1-gcc43.patch:

--- NEW FILE kismet-2007-01-R1-gcc43.patch ---
--- kismet-2007-10-R1/util.cc.orig	2008-02-22 16:08:42.004091798 +0100
+++ kismet-2007-10-R1/util.cc	2008-02-22 16:08:55.065091287 +0100
@@ -22,6 +22,7 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>
+#include <string.h>
 
 // We need this to make uclibc happy since they don't even have rintf...
 #ifndef rintf
--- kismet-2007-10-R1/ringbuf.h.orig	2008-02-22 16:09:40.238091139 +0100
+++ kismet-2007-10-R1/ringbuf.h	2008-02-22 16:09:51.598092831 +0100
@@ -18,6 +18,7 @@
 #include <pwd.h>
 #include <ctype.h>
 #include <math.h>
+#include <string.h>
 
 #include <string>
 #include <map>
--- kismet-2007-10-R1/kismet_wrapper.cc.orig	2008-02-22 16:11:53.820091017 +0100
+++ kismet-2007-10-R1/kismet_wrapper.cc	2008-02-22 16:12:04.434091322 +0100
@@ -19,6 +19,7 @@
 #include <signal.h>
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include <string>
 #include <vector>
 #include <errno.h>


Index: kismet.spec
===================================================================
RCS file: /cvs/extras/rpms/kismet/devel/kismet.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- kismet.spec	19 Feb 2008 02:35:02 -0000	1.12
+++ kismet.spec	22 Feb 2008 16:11:25 -0000	1.13
@@ -32,6 +32,7 @@
 Patch8:		kismet-2007-01-R1-setgroups.patch
 Patch9:		kismet-2007-10-R1-printf.patch
 Patch10:	kismet-2007-01-R1-cast.patch
+Patch11:	kismet-2007-01-R1-gcc43.patch
 BuildRoot:	%_tmppath/%name-%version-%release-root
 BuildRequires:		expat-devel ncurses-devel diffutils
 BuildRequires:		gmp-devel wget libpcap-devel
@@ -82,6 +83,7 @@
 %patch8  -p1 -b .setgroups
 %patch9  -p1 -b .printf
 %patch10 -p1 -b .cast
+%patch11 -p1 -b .gcc43
 
 sed -e 's!/var/log/kismet!%logdir!g' %SOURCE10 >tmpwatch.kismet
 touch --reference=%SOURCE10 tmpwatch.kismet || :	# keep timestamp
@@ -157,7 +159,10 @@
 
 
 %changelog
-* Mon Feb 18 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 0.0.2007.10.R1-3
+* Fri Feb 22 2008 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 0.0.2007.10.R1-3
+- fixed build with gcc43 (#434084, thx to Erik van Pienbroek)
+
+* Mon Feb 18 2008 Fedora Release Engineering <rel-eng at fedoraproject.org>
 - Autorebuild for GCC 4.3
 
 * Sat Nov 10 2007 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 0.0.2007.10.R1-2




More information about the fedora-extras-commits mailing list