summaryrefslogtreecommitdiff
path: root/x11-drivers
diff options
context:
space:
mode:
authorBlackNoxis <steven.darklight@gmail.com>2015-04-24 21:36:39 +0300
committerBlackNoxis <steven.darklight@gmail.com>2015-04-24 21:36:39 +0300
commita5e85166f16a9967d13375847153adac3b61c096 (patch)
treeb884c65ccb71504b3f9814b9fdb1f33162e15cf0 /x11-drivers
parentbb6521358ab793b78db8db8223ce7d40837c66e4 (diff)
[x11-drivers/nvidia-drivers] upgrade drivers with a patch
Diffstat (limited to 'x11-drivers')
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-346.35.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-346.35.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-346.35.ebuild
index c86373e8..027c511a 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-346.35.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-346.35.ebuild
@@ -103,7 +103,9 @@ src_prepare() {
if kernel_is lt 2 6 9 ; then
eerror "You must build this against 2.6.9 or higher kernels."
fi
-
+ if kernel_is ge 4 0 ; then
+ epatch "${FILESDIR}"/${PN}-4.0.patch
+ fi
# If greater than 2.6.5 use M= instead of SUBDIR=
# convert_to_m "${NV_SRC}"/Makefile.kbuild
fi