diff options
author | Stephen Klimaszewski <steev@gentoo.org> | 2008-07-21 19:13:54 +0000 |
---|---|---|
committer | Stephen Klimaszewski <steev@gentoo.org> | 2008-07-21 19:13:54 +0000 |
commit | 47a59b1fb198f72d5e9e241cb88ab528233f9fac (patch) | |
tree | 31d5f0fff4075a2188258a6c384d3cc3f6caf354 /net-wireless | |
parent | Stable for HPPA (bug #232523). (diff) | |
download | gentoo-2-47a59b1fb198f72d5e9e241cb88ab528233f9fac.tar.gz gentoo-2-47a59b1fb198f72d5e9e241cb88ab528233f9fac.tar.bz2 gentoo-2-47a59b1fb198f72d5e9e241cb88ab528233f9fac.zip |
Add patch to fix madwifi-ng 0.9.4 building against 2.6.26 kernels.
(Portage version: 2.2_rc1/cvs/Linux 2.6.26-gentoo i686)
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/madwifi-ng/ChangeLog | 6 | ||||
-rw-r--r-- | net-wireless/madwifi-ng/files/madwifi-dfs-ieee80211-skb-update.patch | 12 | ||||
-rw-r--r-- | net-wireless/madwifi-ng/madwifi-ng-0.9.4.ebuild | 3 |
3 files changed, 19 insertions, 2 deletions
diff --git a/net-wireless/madwifi-ng/ChangeLog b/net-wireless/madwifi-ng/ChangeLog index 0804e4bada9a..3dc3f24f123b 100644 --- a/net-wireless/madwifi-ng/ChangeLog +++ b/net-wireless/madwifi-ng/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-wireless/madwifi-ng # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng/ChangeLog,v 1.54 2008/07/07 22:35:53 gentoofan23 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng/ChangeLog,v 1.55 2008/07/21 19:13:53 steev Exp $ + + 21 Jul 2008; Steev Klimaszewski <steev@gentoo.org> + +files/madwifi-dfs-ieee80211-skb-update.patch, madwifi-ng-0.9.4.ebuild: + Add patch to make madwifi-ng-0.9.4 work with 2.6.26 kernels. 07 Jul 2008; Thomas Anderson <gentoofan23@gentoo.org> madwifi-ng-0.9.4.ebuild: diff --git a/net-wireless/madwifi-ng/files/madwifi-dfs-ieee80211-skb-update.patch b/net-wireless/madwifi-ng/files/madwifi-dfs-ieee80211-skb-update.patch new file mode 100644 index 000000000000..af14023b8c7c --- /dev/null +++ b/net-wireless/madwifi-ng/files/madwifi-dfs-ieee80211-skb-update.patch @@ -0,0 +1,12 @@ +--- a/net80211/ieee80211_linux.h 2008-05-09 01:15:01 +0400 ++++ b/net80211/ieee80211_linux.h 2008-05-11 02:26:35 +0400 +@@ -315,6 +315,9 @@ typedef spinlock_t acl_lock_t; + #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,14) + #define __skb_append(a,b,c) __skb_append(a, b) + #endif ++#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,25) ++#define __skb_append(a,b,c) __skb_queue_after(c,a,b) ++#endif + + /* + * Per-node power-save queue definitions. Beware of control diff --git a/net-wireless/madwifi-ng/madwifi-ng-0.9.4.ebuild b/net-wireless/madwifi-ng/madwifi-ng-0.9.4.ebuild index db1b69cd340e..42fccdb1403e 100644 --- a/net-wireless/madwifi-ng/madwifi-ng-0.9.4.ebuild +++ b/net-wireless/madwifi-ng/madwifi-ng-0.9.4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng/madwifi-ng-0.9.4.ebuild,v 1.3 2008/07/07 22:35:53 gentoofan23 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng/madwifi-ng-0.9.4.ebuild,v 1.4 2008/07/21 19:13:53 steev Exp $ inherit linux-mod @@ -60,6 +60,7 @@ src_unpack() { for dir in ath ath_hal net80211 ath_rate ath_rate/amrr ath_rate/minstrel ath_rate/onoe ath_rate/sample; do convert_to_m "${S}"/${dir}/Makefile done + epatch "${FILESDIR}"/madwifi-dfs-ieee80211-skb-update.patch } src_install() { |