Package: kismet
Severity: normal
Tags: patch

kismet FTBFS with GCC 4.4.

Attaching a patch to solve this.


-- System Information:
Debian Release: 5.0
  APT prefers jaunty-updates
  APT policy: (500, 'jaunty-updates'), (500, 'jaunty-security'), (500, 
'jaunty-backports'), (500, 'jaunty')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.28-15-generic (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Description: Prevent FTBFS with GCC 4.4.
Author: Alessio Treglia <quadris...@ubuntu.com>
Index: kismet-2008-05-R1/macaddr.h
===================================================================
--- kismet-2008-05-R1.orig/macaddr.h	2009-09-08 20:27:37.794961344 +0200
+++ kismet-2008-05-R1/macaddr.h	2009-09-08 20:28:11.790961464 +0200
@@ -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;
 

Reply via email to