diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2007-05-09 19:22:21 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2007-05-09 19:22:21 +0000 |
commit | 7fc058db2ab10966831158cd54fb2826b59fdc7e (patch) | |
tree | 5bab7634cb282340fcc36eabae6fc01400dbc484 /net-wireless/at76c503a | |
parent | Fix qt deps. (diff) | |
download | historical-7fc058db2ab10966831158cd54fb2826b59fdc7e.tar.gz historical-7fc058db2ab10966831158cd54fb2826b59fdc7e.tar.bz2 historical-7fc058db2ab10966831158cd54fb2826b59fdc7e.zip |
Add kernel 2.6.20 support thanks to steev in bug 164659
Package-Manager: portage-2.1.2.7
Diffstat (limited to 'net-wireless/at76c503a')
-rw-r--r-- | net-wireless/at76c503a/ChangeLog | 6 | ||||
-rw-r--r-- | net-wireless/at76c503a/Manifest | 20 | ||||
-rw-r--r-- | net-wireless/at76c503a/at76c503a-0.14_beta1.ebuild | 11 | ||||
-rw-r--r-- | net-wireless/at76c503a/files/at76c503a-2.6.20.patch | 35 |
4 files changed, 61 insertions, 11 deletions
diff --git a/net-wireless/at76c503a/ChangeLog b/net-wireless/at76c503a/ChangeLog index b3c3e74a7fb6..a720715e4778 100644 --- a/net-wireless/at76c503a/ChangeLog +++ b/net-wireless/at76c503a/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-wireless/at76c503a # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/at76c503a/ChangeLog,v 1.14 2007/05/09 18:48:00 genstef Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/at76c503a/ChangeLog,v 1.15 2007/05/09 19:22:21 genstef Exp $ + + 09 May 2007; Stefan Schweizer <genstef@gentoo.org> + +files/at76c503a-2.6.20.patch, at76c503a-0.14_beta1.ebuild: + Add kernel 2.6.20 support thanks to steev in bug 164659 *at76c503a-9999 (09 May 2007) diff --git a/net-wireless/at76c503a/Manifest b/net-wireless/at76c503a/Manifest index d54eafd80413..780035748c08 100644 --- a/net-wireless/at76c503a/Manifest +++ b/net-wireless/at76c503a/Manifest @@ -1,16 +1,20 @@ +AUX at76c503a-2.6.20.patch 1148 RMD160 412bc1f92738e0c51d9f41488d5ee28aa0d15857 SHA1 f5d6405c098b3fa99a77a63c1085c0b5e02a38e6 SHA256 d5ce6aae37d31728e1916a004f0ebc19cf43298aec49847e9e464718468e0d3b +MD5 dcf92141279425e5b395db4e15dd8065 files/at76c503a-2.6.20.patch 1148 +RMD160 412bc1f92738e0c51d9f41488d5ee28aa0d15857 files/at76c503a-2.6.20.patch 1148 +SHA256 d5ce6aae37d31728e1916a004f0ebc19cf43298aec49847e9e464718468e0d3b files/at76c503a-2.6.20.patch 1148 DIST at76_usb-0.14beta1.tar.gz 75242 RMD160 193bfa7745e2a2879bed6ba59c9effebeb91ab6e SHA1 bd13db5edb1c74531e280be5bcdfd764b33ad80a SHA256 93050b00356a68783b71b84a2425e40c9b5ca59089662ffacbe57a67bddc6339 -EBUILD at76c503a-0.14_beta1.ebuild 951 RMD160 40a1710e3c9d586224cf1cb96a51dcadabf4a8d0 SHA1 e519a1374a969274865bb5c5c8a66316a020a02a SHA256 ce974c890e4a2584a858617484e285cc6b263b9fccae09e013bd7b2cd7399deb -MD5 6f8cce5a3753985a02997d62895a7508 at76c503a-0.14_beta1.ebuild 951 -RMD160 40a1710e3c9d586224cf1cb96a51dcadabf4a8d0 at76c503a-0.14_beta1.ebuild 951 -SHA256 ce974c890e4a2584a858617484e285cc6b263b9fccae09e013bd7b2cd7399deb at76c503a-0.14_beta1.ebuild 951 +EBUILD at76c503a-0.14_beta1.ebuild 1286 RMD160 ceae85723f6c7b18abff923ada29d9eb56ee937c SHA1 6b5a2effee1c0d1c0bbf9e3b3968b6c3abb843b5 SHA256 8ed9eb433ec3a137d39a31430a92214e898509777ad1ddd872d27c5b1d58f89a +MD5 e4f9d77e56fa159274583b5c118e159d at76c503a-0.14_beta1.ebuild 1286 +RMD160 ceae85723f6c7b18abff923ada29d9eb56ee937c at76c503a-0.14_beta1.ebuild 1286 +SHA256 8ed9eb433ec3a137d39a31430a92214e898509777ad1ddd872d27c5b1d58f89a at76c503a-0.14_beta1.ebuild 1286 EBUILD at76c503a-9999.ebuild 1205 RMD160 75113745d499e5534b2baed7e3f2d30cbc7173a4 SHA1 05dda747bea329600ea806c693a5050a77788ccf SHA256 559aada3a2c0b0159a0212bd57bac0c1c02a8537fd6bbbba85612d1ad05fee7e MD5 64fffceb04d88c40aa40f0dbad0559bf at76c503a-9999.ebuild 1205 RMD160 75113745d499e5534b2baed7e3f2d30cbc7173a4 at76c503a-9999.ebuild 1205 SHA256 559aada3a2c0b0159a0212bd57bac0c1c02a8537fd6bbbba85612d1ad05fee7e at76c503a-9999.ebuild 1205 -MISC ChangeLog 3260 RMD160 c57067d54111e99fe040a426a133a7775e26bc92 SHA1 d8b861e5db3b44ffc33fd48f0a83614dabd25403 SHA256 9ce9eec0aab87889eb7994c00fed2716c755acdb2949da045ef0529eafef7741 -MD5 aa62ffa739557f2bc08189a847c17da7 ChangeLog 3260 -RMD160 c57067d54111e99fe040a426a133a7775e26bc92 ChangeLog 3260 -SHA256 9ce9eec0aab87889eb7994c00fed2716c755acdb2949da045ef0529eafef7741 ChangeLog 3260 +MISC ChangeLog 3434 RMD160 9853889d14f157cc2ce2a1a570b4d8285ff2e3a7 SHA1 8f03f5b17a1979850ab74aaf5ea231343d9ad28f SHA256 108aa231f6e9ae2baa39ec5bebd71cbb5a0eefa1f1359b0af7742177d9124e4b +MD5 054bf906daefd29d0ace62e77702b9c8 ChangeLog 3434 +RMD160 9853889d14f157cc2ce2a1a570b4d8285ff2e3a7 ChangeLog 3434 +SHA256 108aa231f6e9ae2baa39ec5bebd71cbb5a0eefa1f1359b0af7742177d9124e4b ChangeLog 3434 MISC metadata.xml 159 RMD160 54af1e9a61e5ed1b49b2bbbf3ef2278999c66b13 SHA1 bce3da4745192397c9a08bdbcf7e4914eac9b77b SHA256 ed3a0d440cfa5672284f4172ebde0ea6506c1a38e9a3ed9f14f3d2c093aac42f MD5 19fd766bac8e110b4620363a1ace26dd metadata.xml 159 RMD160 54af1e9a61e5ed1b49b2bbbf3ef2278999c66b13 metadata.xml 159 diff --git a/net-wireless/at76c503a/at76c503a-0.14_beta1.ebuild b/net-wireless/at76c503a/at76c503a-0.14_beta1.ebuild index 0a7ef506b8ac..82bcbd6c1e5d 100644 --- a/net-wireless/at76c503a/at76c503a-0.14_beta1.ebuild +++ b/net-wireless/at76c503a/at76c503a-0.14_beta1.ebuild @@ -1,10 +1,11 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/at76c503a/at76c503a-0.14_beta1.ebuild,v 1.3 2007/05/09 18:48:00 genstef Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/at76c503a/at76c503a-0.14_beta1.ebuild,v 1.4 2007/05/09 19:22:21 genstef Exp $ -inherit linux-mod +inherit linux-mod eutils MY_P=at76_usb-${PV/_} +DESCRIPTION="at76c503 is a Linux driver for the wlan USB adapter based on the Atmel at76c503 chip. It currently supports ad-hoc mode, infrastructure mode, and WEP. It supports adapters from Atmel, the Belkin F5D6050, Netgear MA101, and others." HOMEPAGE="http://developer.berlios.de/projects/at76c503a/" SRC_URI="http://download.berlios.de/at76c503a/${MY_P}.tar.gz" LICENSE="GPL-2" @@ -27,6 +28,12 @@ pkg_setup() { BUILD_PARAMS="KERNEL_PATH=${KV_DIR}" } +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/at76c503a-2.6.20.patch +} + src_install() { linux-mod_src_install diff --git a/net-wireless/at76c503a/files/at76c503a-2.6.20.patch b/net-wireless/at76c503a/files/at76c503a-2.6.20.patch new file mode 100644 index 000000000000..3158dcabc49d --- /dev/null +++ b/net-wireless/at76c503a/files/at76c503a-2.6.20.patch @@ -0,0 +1,35 @@ +diff -ruN at76_usb-0.14beta1.orig/at76c503.c at76_usb-0.14beta1/at76c503.c +--- at76_usb-0.14beta1.orig/at76c503.c 2007-02-09 22:34:44.000000000 -0600 ++++ at76_usb-0.14beta1/at76c503.c 2007-02-09 22:36:01.000000000 -0600 +@@ -18,10 +18,14 @@ + * Some iw_handler code was taken from airo.c, (C) 1999 Benjamin Reed + */ + ++#include <linux/version.h> ++#if KERNEL_VERSION(2,6,19) > LINUX_VERSION_CODE + #include <linux/config.h> ++#else ++#include <linux/autoconf.h> ++#endif + #include <linux/init.h> + #include <linux/kernel.h> +-#include <linux/version.h> + #include <linux/sched.h> + #include <linux/errno.h> + #include <linux/poll.h> +diff -ruN at76_usb-0.14beta1.orig/at76_usbdfu.c at76_usb-0.14beta1/at76_usbdfu.c +--- at76_usb-0.14beta1.orig/at76_usbdfu.c 2007-02-09 22:34:44.000000000 -0600 ++++ at76_usb-0.14beta1/at76_usbdfu.c 2007-02-09 22:36:40.000000000 -0600 +@@ -24,7 +24,12 @@ + * - Firmware upload (device-to-host) support + */ + ++#include <linux/version.h> ++#if KERNEL_VERSION(2,6,19) > LINUX_VERSION_CODE + #include <linux/config.h> ++#else ++#include <linux/autoconf.h> ++#endif + #include <linux/slab.h> + #include <linux/usb.h> + #include "at76c503.h" |