From 30d4fa58822fea6e3fb09552e5483746af794da3 Mon Sep 17 00:00:00 2001 From: Stephen Klimaszewski Date: Sat, 22 Apr 2006 21:28:29 +0000 Subject: Add a sed that should allow compilation and installation with 2.6.16+ (Portage version: 2.1_pre7-r5) --- net-wireless/rtl8180/rtl8180-0.22_pre20050528.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'net-wireless/rtl8180/rtl8180-0.22_pre20050528.ebuild') diff --git a/net-wireless/rtl8180/rtl8180-0.22_pre20050528.ebuild b/net-wireless/rtl8180/rtl8180-0.22_pre20050528.ebuild index d2f6969d2a49..77eac89d352b 100644 --- a/net-wireless/rtl8180/rtl8180-0.22_pre20050528.ebuild +++ b/net-wireless/rtl8180/rtl8180-0.22_pre20050528.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/rtl8180/rtl8180-0.22_pre20050528.ebuild,v 1.1 2006/02/16 20:42:36 genstef Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/rtl8180/rtl8180-0.22_pre20050528.ebuild,v 1.2 2006/04/22 21:28:29 steev Exp $ inherit linux-mod eutils @@ -24,6 +24,12 @@ pkg_setup() { BUILD_PARAMS="KSRC=${KV_DIR}" } +src_unpack() { + unpack ${A} + cd ${S} + sed -i 's:MODULE_PARM(\([^,]*\),"i");:module_param(\1, int, 0);:' r8180_core.c +} + src_install() { linux-mod_src_install -- cgit v1.2.3-65-gdbad