diff options
author | Matsuu Takuto <matsuu@gentoo.org> | 2010-10-27 15:56:35 +0000 |
---|---|---|
committer | Matsuu Takuto <matsuu@gentoo.org> | 2010-10-27 15:56:35 +0000 |
commit | 6b4bac576d5d6c38c363ecb0cdd8c0f247c2ba47 (patch) | |
tree | 07b91089ecde5616022db0435b6140fa47b51fc1 /net-wireless | |
parent | Don't install buggy tags scripts, use ctags instead. (diff) | |
download | gentoo-2-6b4bac576d5d6c38c363ecb0cdd8c0f247c2ba47.tar.gz gentoo-2-6b4bac576d5d6c38c363ecb0cdd8c0f247c2ba47.tar.bz2 gentoo-2-6b4bac576d5d6c38c363ecb0cdd8c0f247c2ba47.zip |
Version bumped, bug #342255.
(Portage version: 2.1.9.22/cvs/Linux x86_64)
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/broadcom-sta/ChangeLog | 8 | ||||
-rw-r--r-- | net-wireless/broadcom-sta/broadcom-sta-5.60.246.2.ebuild | 57 | ||||
-rw-r--r-- | net-wireless/broadcom-sta/files/broadcom-sta-5.60.246.2-gcc.patch | 11 |
3 files changed, 75 insertions, 1 deletions
diff --git a/net-wireless/broadcom-sta/ChangeLog b/net-wireless/broadcom-sta/ChangeLog index 44b3394805a4..1afbc614390b 100644 --- a/net-wireless/broadcom-sta/ChangeLog +++ b/net-wireless/broadcom-sta/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-wireless/broadcom-sta # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/broadcom-sta/ChangeLog,v 1.25 2010/08/01 14:16:08 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/broadcom-sta/ChangeLog,v 1.26 2010/10/27 15:56:35 matsuu Exp $ + +*broadcom-sta-5.60.246.2 (27 Oct 2010) + + 27 Oct 2010; MATSUU Takuto <matsuu@gentoo.org> + +broadcom-sta-5.60.246.2.ebuild, +files/broadcom-sta-5.60.246.2-gcc.patch: + Version bumped, bug #342255. 01 Aug 2010; Markos Chandras <hwoarang@gentoo.org> broadcom-sta-5.60.48.36-r1.ebuild: diff --git a/net-wireless/broadcom-sta/broadcom-sta-5.60.246.2.ebuild b/net-wireless/broadcom-sta/broadcom-sta-5.60.246.2.ebuild new file mode 100644 index 000000000000..8272cee7c8b4 --- /dev/null +++ b/net-wireless/broadcom-sta/broadcom-sta-5.60.246.2.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/broadcom-sta/broadcom-sta-5.60.246.2.ebuild,v 1.1 2010/10/27 15:56:35 matsuu Exp $ + +EAPI="2" +inherit eutils linux-mod + +DESCRIPTION="Broadcom's IEEE 802.11a/b/g/n hybrid Linux device driver." +HOMEPAGE="http://www.broadcom.com/support/802.11/linux_sta.php" +SRC_BASE="http://www.broadcom.com/docs/linux_sta/hybrid-portsrc_x86-" +SRC_URI="x86? ( ${SRC_BASE}32_v${PV}.tar.gz ) + amd64? ( ${SRC_BASE}64_v${PV}.tar.gz )" + +LICENSE="Broadcom" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RESTRICT="mirror" + +DEPEND=">=virtual/linux-sources-2.6.22" +RDEPEND="" + +S="${WORKDIR}" + +MODULE_NAMES="wl(net/wireless)" +MODULESD_WL_ALIASES=("wlan0 wl") + +PROPERTIES="interactive" + +pkg_setup() { + check_license + + # bug #300570 + # NOTE<lxnay>: module builds correctly anyway with b43 and SSB enabled + # make checks non-fatal. The correct fix is blackisting ssb and, perhaps + # b43 via udev rules. Moreover, previous fix broke binpkgs support. + CONFIG_CHECK="~!B43 ~!SSB" + if kernel_is ge 2 6 33; then + CONFIG_CHECK="${CONFIG_CHECK} LIB80211 WIRELESS_EXT CFG80211_WEXT WEXT_PRIV ~!MAC80211" + ERROR_WEXT_PRIV="Starting with 2.6.33, it is not possible to set WEXT_PRIV directly. We recommend to set another symbol selecting WEXT_PRIV, for example, PRISM54, IPW2200 and so on. See Bug #248450 comment#98." + elif kernel_is ge 2 6 31; then + CONFIG_CHECK="${CONFIG_CHECK} LIB80211 WIRELESS_EXT ~!MAC80211" + elif kernel_is ge 2 6 29; then + CONFIG_CHECK="${CONFIG_CHECK} LIB80211 WIRELESS_EXT ~!MAC80211 COMPAT_NET_DEV_OPS" + else + CONFIG_CHECK="${CONFIG_CHECK} IEEE80211 IEEE80211_CRYPT_TKIP" + fi + linux-mod_pkg_setup + + BUILD_PARAMS="-C ${KV_DIR} M=${S}" + BUILD_TARGETS="wl.ko" +} + +src_prepare() { + epatch "${FILESDIR}/${PN}-5.10.91.9-license.patch" \ + "${FILESDIR}/${P}-gcc.patch" +} diff --git a/net-wireless/broadcom-sta/files/broadcom-sta-5.60.246.2-gcc.patch b/net-wireless/broadcom-sta/files/broadcom-sta-5.60.246.2-gcc.patch new file mode 100644 index 000000000000..048565376d75 --- /dev/null +++ b/net-wireless/broadcom-sta/files/broadcom-sta-5.60.246.2-gcc.patch @@ -0,0 +1,11 @@ +diff -Naur broadcom-sta-5.60.246.2.orig//src/wl/sys/wl_iw.h broadcom-sta-5.60.246.2/src/wl/sys/wl_iw.h +--- broadcom-sta-5.60.246.2.orig//src/wl/sys/wl_iw.h 2010-10-08 07:32:59.000000000 +0900 ++++ broadcom-sta-5.60.246.2/src/wl/sys/wl_iw.h 2010-10-28 00:50:57.925351964 +0900 +@@ -15,6 +15,7 @@ + #ifndef _wl_iw_h_ + #define _wl_iw_h_ + ++#include <linux/semaphore.h> + #include <linux/wireless.h> + + #include <typedefs.h> |