diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-08-09 15:09:23 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-08-09 15:09:23 +0000 |
commit | a15bf297fbf5fcf35c817d06513d6236f030e844 (patch) | |
tree | 521882895a82a780db800c2110231abd41d9f616 /net-wireless/kismet/files | |
parent | ppc stable #280646 (diff) | |
download | gentoo-2-a15bf297fbf5fcf35c817d06513d6236f030e844.tar.gz gentoo-2-a15bf297fbf5fcf35c817d06513d6236f030e844.tar.bz2 gentoo-2-a15bf297fbf5fcf35c817d06513d6236f030e844.zip |
Fix building with GLIBC 2.10+ wrt #270845.
(Portage version: 2.2_rc36/cvs/Linux x86_64)
Diffstat (limited to 'net-wireless/kismet/files')
-rw-r--r-- | net-wireless/kismet/files/kismet-2008.05.1-glibc-2.10.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net-wireless/kismet/files/kismet-2008.05.1-glibc-2.10.patch b/net-wireless/kismet/files/kismet-2008.05.1-glibc-2.10.patch new file mode 100644 index 000000000000..f14d5adfb3fa --- /dev/null +++ b/net-wireless/kismet/files/kismet-2008.05.1-glibc-2.10.patch @@ -0,0 +1,11 @@ +--- 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; + |