summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Heim <phreak@gentoo.org>2006-12-07 21:04:16 +0000
committerChristian Heim <phreak@gentoo.org>2006-12-07 21:04:16 +0000
commit47124bb384b449629f5081e02e65bc241ee4f5ff (patch)
tree319a7d1472bad67714af71d807874b4bedb58239 /net-wireless/ipw3945
parentBump to version 2.6.19-r11 (diff)
downloadgentoo-2-47124bb384b449629f5081e02e65bc241ee4f5ff.tar.gz
gentoo-2-47124bb384b449629f5081e02e65bc241ee4f5ff.tar.bz2
gentoo-2-47124bb384b449629f5081e02e65bc241ee4f5ff.zip
Adding a patch for ipw3945-1.0.5 compilation against linux-2.6.19 (thanks to Scott Van Der Wall <svdw@udel.edu> for the patch - #157076 - and Stefan for bugging me about it).
(Portage version: 2.1.2_rc2-r5)
Diffstat (limited to 'net-wireless/ipw3945')
-rw-r--r--net-wireless/ipw3945/ChangeLog8
-rw-r--r--net-wireless/ipw3945/files/ipw3945-1.0.5-linux-2.6.19.patch14
-rw-r--r--net-wireless/ipw3945/ipw3945-1.0.5.ebuild8
3 files changed, 27 insertions, 3 deletions
diff --git a/net-wireless/ipw3945/ChangeLog b/net-wireless/ipw3945/ChangeLog
index 87f67035deb4..93162edd15b8 100644
--- a/net-wireless/ipw3945/ChangeLog
+++ b/net-wireless/ipw3945/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-wireless/ipw3945
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw3945/ChangeLog,v 1.13 2006/12/07 19:49:49 phreak Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw3945/ChangeLog,v 1.14 2006/12/07 21:04:16 phreak Exp $
+
+ 07 Dec 2006; Christian Heim <phreak@gentoo.org>
+ +files/ipw3945-1.0.5-linux-2.6.19.patch, ipw3945-1.0.5.ebuild:
+ Adding a patch for ipw3945-1.0.5 compilation against linux-2.6.19 (thanks to
+ Scott Van Der Wall <svdw@udel.edu> for the patch - #157076 - and Stefan for bugging me
+ about it).
07 Dec 2006; Christian Heim <phreak@gentoo.org> metadata.xml:
Adding Seemant as secondary maintainer.
diff --git a/net-wireless/ipw3945/files/ipw3945-1.0.5-linux-2.6.19.patch b/net-wireless/ipw3945/files/ipw3945-1.0.5-linux-2.6.19.patch
new file mode 100644
index 000000000000..84ae4872af0d
--- /dev/null
+++ b/net-wireless/ipw3945/files/ipw3945-1.0.5-linux-2.6.19.patch
@@ -0,0 +1,14 @@
+Index: ipw3945-1.0.5/ipw3945.h
+===================================================================
+--- ipw3945-1.0.5.orig/ipw3945.h
++++ ipw3945-1.0.5/ipw3945.h
+@@ -29,7 +29,9 @@
+
+ #include <linux/module.h>
+ #include <linux/moduleparam.h>
++#ifndef AUTOCONF_INCLUDED
+ #include <linux/config.h>
++#endif
+ #include <linux/init.h>
+
+ #include <linux/version.h>
diff --git a/net-wireless/ipw3945/ipw3945-1.0.5.ebuild b/net-wireless/ipw3945/ipw3945-1.0.5.ebuild
index 0738aef1784d..80d56847667d 100644
--- a/net-wireless/ipw3945/ipw3945-1.0.5.ebuild
+++ b/net-wireless/ipw3945/ipw3945-1.0.5.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw3945/ipw3945-1.0.5.ebuild,v 1.2 2006/06/05 13:07:55 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/ipw3945/ipw3945-1.0.5.ebuild,v 1.3 2006/12/07 21:04:16 phreak Exp $
-inherit linux-mod
+inherit linux-mod eutils
IEEE80211_VERSION="1.1.13-r1"
UCODE_VERSION="1.13"
@@ -57,6 +57,10 @@ src_unpack() {
local debug="n"
unpack ${A}
+ cd "${S}"
+
+ # bug 157076 (ipw3945 doesn't compile against 2.6.19)
+ epatch "${FILESDIR}/ipw3945-1.0.5-linux-2.6.19.patch"
sed -i \
-e "s:^#\(CONFIG_IPW3945_QOS\)=.*:\1=y:" \