summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Drake <dsd@gentoo.org>2006-07-17 20:02:35 +0000
committerDaniel Drake <dsd@gentoo.org>2006-07-17 20:02:35 +0000
commit23ea9e7e003a78109403767f0f4cc0367d598394 (patch)
tree1000f7b7c4ad16842cbeae07194a2f62ce377689 /app-laptop/thinkpad/thinkpad-5.9-r1.ebuild
parentStable on ppc64; bug #133524 (diff)
downloadgentoo-2-23ea9e7e003a78109403767f0f4cc0367d598394.tar.gz
gentoo-2-23ea9e7e003a78109403767f0f4cc0367d598394.tar.bz2
gentoo-2-23ea9e7e003a78109403767f0f4cc0367d598394.zip
Fix compilation on Linux 2.6.17, thanks to Henryk Plotz in bug #137646
(Portage version: 2.1.1_pre2-r2)
Diffstat (limited to 'app-laptop/thinkpad/thinkpad-5.9-r1.ebuild')
-rw-r--r--app-laptop/thinkpad/thinkpad-5.9-r1.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/app-laptop/thinkpad/thinkpad-5.9-r1.ebuild b/app-laptop/thinkpad/thinkpad-5.9-r1.ebuild
index a98b66087d28..f5c11af609e4 100644
--- a/app-laptop/thinkpad/thinkpad-5.9-r1.ebuild
+++ b/app-laptop/thinkpad/thinkpad-5.9-r1.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/app-laptop/thinkpad/thinkpad-5.9-r1.ebuild,v 1.2 2006/05/09 21:41:01 allanonjl Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/thinkpad/thinkpad-5.9-r1.ebuild,v 1.3 2006/07/17 20:02:35 dsd Exp $
inherit eutils linux-mod
@@ -48,6 +48,8 @@ src_unpack() {
epatch "${FILESDIR}"/${PN}-5.9-remove-thinkpadapm-argument.patch
epatch "${FILESDIR}"/${PN}-5.9-remove-inter_module.patch
+
+ kernel_is ge 2 6 0 && epatch "${FILESDIR}"/${P}-module-param.patch
}
src_install() {