diff options
author | Henrik Brix Andersen <brix@gentoo.org> | 2005-05-05 19:57:16 +0000 |
---|---|---|
committer | Henrik Brix Andersen <brix@gentoo.org> | 2005-05-05 19:57:16 +0000 |
commit | 6b9f053081c0ba2b881eb4bbcb88d66f2c43c4ca (patch) | |
tree | 6f8ba072c11fb19350f2e0b0f1b9012972cacf64 /net-wireless/ipw2200 | |
parent | add ~ia64 (diff) | |
download | gentoo-2-6b9f053081c0ba2b881eb4bbcb88d66f2c43c4ca.tar.gz gentoo-2-6b9f053081c0ba2b881eb4bbcb88d66f2c43c4ca.tar.bz2 gentoo-2-6b9f053081c0ba2b881eb4bbcb88d66f2c43c4ca.zip |
Allow compiling against Software Suspend 2.1.8.7 patched kernel, restructured ebuild.
(Portage version: 2.0.51.21-r1)
Diffstat (limited to 'net-wireless/ipw2200')
-rw-r--r-- | net-wireless/ipw2200/ChangeLog | 7 | ||||
-rw-r--r-- | net-wireless/ipw2200/files/ipw2200-1.0.3-suspend2.patch | 13 | ||||
-rw-r--r-- | net-wireless/ipw2200/ipw2200-1.0.3.ebuild | 20 |
3 files changed, 31 insertions, 9 deletions
diff --git a/net-wireless/ipw2200/ChangeLog b/net-wireless/ipw2200/ChangeLog index 6d0569b73b3d..77291944f523 100644 --- a/net-wireless/ipw2200/ChangeLog +++ b/net-wireless/ipw2200/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-wireless/ipw2200 # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw2200/ChangeLog,v 1.30 2005/05/04 11:17:46 brix Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw2200/ChangeLog,v 1.31 2005/05/05 19:57:16 brix Exp $ + + 05 May 2005; <brix@gentoo.org> +files/ipw2200-1.0.3-suspend2.patch, + ipw2200-1.0.3.ebuild: + Allow compiling against Software Suspend 2.1.8.7 patched kernel, + restructured ebuild. 04 May 2005; <brix@gentoo.org> ipw2200-1.0.3.ebuild: Stable on x86. diff --git a/net-wireless/ipw2200/files/ipw2200-1.0.3-suspend2.patch b/net-wireless/ipw2200/files/ipw2200-1.0.3-suspend2.patch new file mode 100644 index 000000000000..100b7a5b09b4 --- /dev/null +++ b/net-wireless/ipw2200/files/ipw2200-1.0.3-suspend2.patch @@ -0,0 +1,13 @@ +diff -urp ipw2200-1.0.3/ipw2200.h ipw2200-1.0.3-suspend2/ipw2200.h +--- ipw2200-1.0.3/ipw2200.h 2005-04-08 23:36:51.000000000 +0200 ++++ ipw2200-1.0.3-suspend2/ipw2200.h 2005-05-05 21:39:40.000000000 +0200 +@@ -65,7 +65,8 @@ typedef void irqreturn_t; + #endif + + #if !defined(CONFIG_SOFTWARE_SUSPEND2_BUILTIN) && \ +- (defined(CONFIG_SOFTWARE_SUSPEND2) || \ ++ (defined(CONFIG_SUSPEND2) || \ ++ defined(CONFIG_SOFTWARE_SUSPEND2) || \ + defined(CONFIG_SOFTWARE_SUSPEND2_MODULE)) + #define CONFIG_SOFTWARE_SUSPEND2_BUILTIN + #endif diff --git a/net-wireless/ipw2200/ipw2200-1.0.3.ebuild b/net-wireless/ipw2200/ipw2200-1.0.3.ebuild index c8c2a88d8009..0c7ef631bc4a 100644 --- a/net-wireless/ipw2200/ipw2200-1.0.3.ebuild +++ b/net-wireless/ipw2200/ipw2200-1.0.3.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw2200/ipw2200-1.0.3.ebuild,v 1.2 2005/05/04 11:17:46 brix Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw2200/ipw2200-1.0.3.ebuild,v 1.3 2005/05/05 19:57:16 brix Exp $ -inherit linux-mod +inherit eutils linux-mod # The following works with both pre-releases and releases MY_P=${P/_/-} @@ -24,7 +24,6 @@ RDEPEND="=net-wireless/ipw2200-firmware-${FW_VERSION} net-wireless/wireless-tools !net-wireless/ipw2100" -BUILD_PARAMS="KSRC=${KV_DIR}" BUILD_TARGETS="all" MODULE_NAMES="ipw2200(net:) @@ -36,11 +35,11 @@ MODULE_NAMES="ipw2200(net:) MODULESD_IPW2200_DOCS="README.ipw2200" CONFIG_CHECK="NET_RADIO CRYPTO_ARC4 CRYPTO_MICHAEL_MIC FW_LOADER CRC32" -NET_RADIO_ERROR="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO)." -CRYPTO_ARC4_ERROR="${P} requires support for ARC4 cipher algorithm (CONFIG_CRYPTO_ARC4)." -CRYPTO_MICHAEL_MIC_ERROR="${P} requires support for Michael MIC keyed digest algorithm (CONFIG_CRYPTO_MICHAEL_MIC)." -FW_LOADER_ERROR="${P} requires Hotplug firmware loading support (CONFIG_FW_LOADER)." -CRC32_ERROR="${P} requires support for CRC32 functions (CONFIG_CRC32)." +ERROR_NET_RADIO="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO)." +ERROR_CRYPTO_ARC4="${P} requires support for ARC4 cipher algorithm (CONFIG_CRYPTO_ARC4)." +ERROR_CRYPTO_MICHAEL_MIC="${P} requires support for Michael MIC keyed digest algorithm (CONFIG_CRYPTO_MICHAEL_MIC)." +ERROR_FW_LOADER="${P} requires Hotplug firmware loading support (CONFIG_FW_LOADER)." +ERROR_CRC32="${P} requires support for CRC32 functions (CONFIG_CRC32)." pkg_setup() { if kernel_is 2 4; then @@ -54,6 +53,8 @@ pkg_setup() { fi linux-mod_pkg_setup + + BUILD_PARAMS="KSRC=${KV_DIR}" } src_unpack() { @@ -61,6 +62,9 @@ src_unpack() { unpack ${A} + cd ${S} + epatch ${FILESDIR}/${P}-suspend2.patch + use debug && debug="y" sed -i \ -e "s:^\(CONFIG_IPW_DEBUG\)=.*:\1=$debug:" \ |