rpms/kismet/devel kismet-2008-05-R1-gcc44.patch, NONE, 1.1 kismet.spec, 1.21, 1.22
Alex Lancaster
alexlan at fedoraproject.org
Wed Mar 18 07:29:35 UTC 2009
Author: alexlan
Update of /cvs/pkgs/rpms/kismet/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25428
Modified Files:
kismet.spec
Added Files:
kismet-2008-05-R1-gcc44.patch
Log Message:
* Wed Mar 18 2009 Alex Lancaster <alexlan[AT]fedoraproject org> - 0.0.2008.05.R1-5
- Add patch to fix build against GCC 4.4 (#490811)
kismet-2008-05-R1-gcc44.patch:
--- NEW FILE kismet-2008-05-R1-gcc44.patch ---
--- macaddr.h.orig 2009-03-18 00:08:27.000000000 -0700
+++ macaddr.h 2009-03-18 00:09:30.000000000 -0700
@@ -73,7 +73,7 @@
longmac |= (uint64_t) bs_in[5] << ((MAC_LEN - 5 - 1) * 8);
// If it has a mask component, get that
- char *in_mask = strchr(in, '/');
+ const char *in_mask = strchr(in, '/');
if (in_mask != NULL) {
longmask = 0;
Index: kismet.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kismet/devel/kismet.spec,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- kismet.spec 25 Feb 2009 11:30:57 -0000 1.21
+++ kismet.spec 18 Mar 2009 07:29:05 -0000 1.22
@@ -18,7 +18,7 @@
Summary: WLAN detector, sniffer and IDS
Name: kismet
Version: %_rpmversion
-Release: %release_func 4
+Release: %release_func 5
License: GPLv2+
Group: Applications/Internet
URL: http://www.kismetwireless.net/
@@ -32,6 +32,7 @@
Patch14: kismet-2008-05-R1-typo.patch
Patch15: kismet-2008-05-R1-const.patch
Patch16: kismet-2008-05-R1-fmt.patch
+Patch17: kismet-2008-05-R1-gcc44.patch
BuildRoot: %_tmppath/%name-%version-%release-root
BuildRequires: expat-devel ncurses-devel diffutils
BuildRequires: gmp-devel wget libpcap-devel
@@ -84,6 +85,7 @@
%patch14 -p1 -b .typo
%patch15 -p1 -b .const
%patch16 -p1 -b .fmt
+%patch17 -p0 -b .gcc44
sed -e 's!/var/log/kismet!%logdir!g' %SOURCE10 >tmpwatch.kismet
touch --reference=%SOURCE10 tmpwatch.kismet || : # keep timestamp
@@ -159,6 +161,9 @@
%changelog
+* Wed Mar 18 2009 Alex Lancaster <alexlan[AT]fedoraproject org> - 0.0.2008.05.R1-5
+- Add patch to fix build against GCC 4.4 (#490811)
+
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.0.2008.05.R1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
More information about the fedora-extras-commits
mailing list