summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-08-09 15:09:23 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-08-09 15:09:23 +0000
commita15bf297fbf5fcf35c817d06513d6236f030e844 (patch)
tree521882895a82a780db800c2110231abd41d9f616 /net-wireless/kismet
parentppc stable #280646 (diff)
downloadgentoo-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')
-rw-r--r--net-wireless/kismet/ChangeLog6
-rw-r--r--net-wireless/kismet/files/kismet-2008.05.1-glibc-2.10.patch11
-rw-r--r--net-wireless/kismet/kismet-2008.05.1.ebuild3
3 files changed, 18 insertions, 2 deletions
diff --git a/net-wireless/kismet/ChangeLog b/net-wireless/kismet/ChangeLog
index 3f8bcaf8bcbb..32efef4b80d4 100644
--- a/net-wireless/kismet/ChangeLog
+++ b/net-wireless/kismet/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-wireless/kismet
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/kismet/ChangeLog,v 1.105 2009/04/15 13:43:25 hanno Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/kismet/ChangeLog,v 1.106 2009/08/09 15:09:23 ssuominen Exp $
+
+ 09 Aug 2009; Samuli Suominen <ssuominen@gentoo.org>
+ kismet-2008.05.1.ebuild, +files/kismet-2008.05.1-glibc-2.10.patch:
+ Fix building with GLIBC 2.10+ wrt #270845.
15 Apr 2009; Hanno Boeck <hanno@gentoo.org> kismet-2008.05.1.ebuild:
Add dbus use-flag.
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;
+
diff --git a/net-wireless/kismet/kismet-2008.05.1.ebuild b/net-wireless/kismet/kismet-2008.05.1.ebuild
index 9488994173dc..af74bf5e521e 100644
--- a/net-wireless/kismet/kismet-2008.05.1.ebuild
+++ b/net-wireless/kismet/kismet-2008.05.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/kismet/kismet-2008.05.1.ebuild,v 1.4 2009/04/15 13:43:25 hanno Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/kismet/kismet-2008.05.1.ebuild,v 1.5 2009/08/09 15:09:23 ssuominen Exp $
inherit toolchain-funcs linux-info eutils
@@ -35,6 +35,7 @@ src_unpack() {
-e 's|@mangrp@|root|g' Makefile.in
epatch "${FILESDIR}"/gcc-4.3.patch
+ epatch "${FILESDIR}"/${P}-glibc-2.10.patch
}
src_compile() {