Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=kernel2626.git;a=commitdiff;h=480a47e72364dd3d3a7ba67cd2316ec0a6edf090

commit 480a47e72364dd3d3a7ba67cd2316ec0a6edf090
Author: Miklos Vajna <[EMAIL PROTECTED]>
Date:   Wed Aug 6 22:22:11 2008 +0200

madwifi-0.9.4-12-i686
- added kernel-2.6.26.patch

diff --git a/source/network/madwifi/FrugalBuild 
b/source/network/madwifi/FrugalBuild
index b03a570..685bb40 100644
--- a/source/network/madwifi/FrugalBuild
+++ b/source/network/madwifi/FrugalBuild
@@ -3,7 +3,7 @@

pkgname=madwifi
pkgver=0.9.4
-pkgrel=11
+pkgrel=12
pkgdesc="Madwifi drivers for Atheros wireless chipsets"
Finclude kernel-module
depends=([EMAIL PROTECTED] 'wireless_tools')
@@ -13,9 +13,10 @@ groups=('network')
archs=('i686' 'x86_64')
Finclude sourceforge
url="http://madwifi.sourceforge.net/";
-source=($source madwifi-0.9.3-cflags.diff)
+source=($source madwifi-0.9.3-cflags.diff kernel-2.6.26.patch)
sha1sums=('6f289cb2e99d27b23570d15b69bf0f4240e34d1e' \
-          '26fdc221e5bb0299d8b3c41ad30b6fe6882a8e35')
+          '26fdc221e5bb0299d8b3c41ad30b6fe6882a8e35' \
+          '41928bbfdbb4e1c1fa5c1ed93fb673542c18bbc3')

# If the package needs testing, feel free to poke Benjamin Woods <[EMAIL 
PROTECTED]>

diff --git a/source/network/madwifi/kernel-2.6.26.patch 
b/source/network/madwifi/kernel-2.6.26.patch
new file mode 100644
index 0000000..af14023
--- /dev/null
+++ b/source/network/madwifi/kernel-2.6.26.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
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to