[Lunar-commits] <moonbase> NVIDIA-legacy: fix for kernel 2.6.39

Zbigniew Luszpinski zbiggy at lunar-linux.org
Sun May 22 13:01:56 CEST 2011


commit 50e1f89506dd03cc8124ee6134806f15f40424e5
Author: Zbigniew Luszpinski <zbiggy at lunar-linux.org>
Date:   Sun May 22 13:01:56 2011 +0200

    NVIDIA-legacy: fix for kernel 2.6.39
---
 x11/NVIDIA-legacy/BUILD |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/x11/NVIDIA-legacy/BUILD b/x11/NVIDIA-legacy/BUILD
index 451285d..86cdf15 100644
--- a/x11/NVIDIA-legacy/BUILD
+++ b/x11/NVIDIA-legacy/BUILD
@@ -3,6 +3,10 @@
   # We make the kernel modules on our own
   cd $SOURCE_DIRECTORY/usr/src/nv &&
 
+  # Compatibility fix for kernel 2.6.39
+  # http://www.nvnews.net/vbulletin/showthread.php?t=162729
+  sedit '/smp_lock.h/d' nv-linux.h &&
+
   sedit "s:KBUILD_VERBOSE=1:KBUILD_VERBOSE=0:g" Makefile.kbuild &&
 
   make SYSSRC=/usr/src/linux module &&


More information about the Lunar-commits mailing list