summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-wireless/rt2570/rt2570-1.1.0_beta1.ebuild')
-rw-r--r--net-wireless/rt2570/rt2570-1.1.0_beta1.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/net-wireless/rt2570/rt2570-1.1.0_beta1.ebuild b/net-wireless/rt2570/rt2570-1.1.0_beta1.ebuild
index f35777f9709b..b1efbbf2fbba 100644
--- a/net-wireless/rt2570/rt2570-1.1.0_beta1.ebuild
+++ b/net-wireless/rt2570/rt2570-1.1.0_beta1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/rt2570/rt2570-1.1.0_beta1.ebuild,v 1.1 2005/11/04 21:47:07 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/rt2570/rt2570-1.1.0_beta1.ebuild,v 1.2 2005/12/27 00:13:45 steev Exp $
inherit eutils linux-mod
@@ -30,6 +30,9 @@ pkg_setup() {
}
src_compile() {
+ if kernel_is ge 2 6 14 ; then
+ epatch "${FILESDIR}"/verify-write-api-change.patch
+ fi
linux-mod_src_compile
}