From a5e85166f16a9967d13375847153adac3b61c096 Mon Sep 17 00:00:00 2001 From: BlackNoxis Date: Fri, 24 Apr 2015 21:36:39 +0300 Subject: [x11-drivers/nvidia-drivers] upgrade drivers with a patch --- x11-drivers/nvidia-drivers/nvidia-drivers-346.35.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'x11-drivers/nvidia-drivers/nvidia-drivers-346.35.ebuild') 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 -- cgit v1.2.3