[Lunar-commits] <moonbase-xorg> NVIDIA: x86_64 build fix with kernel >= 3.10

Stefan Wold ratler at lunar-linux.org
Sat Jul 6 20:20:20 CEST 2013


commit 9581dbe591bd62bef15841f8ad7f0626cb058278
Author: Stefan Wold <ratler at lunar-linux.org>
Date: Sat, 06 Jul 2013 11:18:57 -0700
URL: https://github.com/lunar-linux/moonbase-xorg/commit/9581dbe591bd62bef15841f8ad7f0626cb058278

NVIDIA: x86_64 build fix with kernel >= 3.10
---
  driver/NVIDIA/BUILD          | +6/-0     
  driver/NVIDIA/DETAILS.x86_64 | +3/-0     
  2 files changed, 9 insertions(+)

--- a/driver/NVIDIA/BUILD
+++ b/driver/NVIDIA/BUILD
@@ -1,4 +1,10 @@
 (
+
+  # Fix for x86_64 with kernel >= 3.10
+  if [[ $(arch) == x86_64 ]]; then
+    patch_it $SOURCE5 1
+  fi &&
+
   # This is an installer-less build script. If you find bugs let me know by e-mail: zbiggy(0)o2(period)pl
 
   GCCKNL=`cat /proc/version | cut -d\( -f3 | cut -d\  -f3`
--- a/driver/NVIDIA/DETAILS.x86_64
+++ b/driver/NVIDIA/DETAILS.x86_64
@@ -4,6 +4,7 @@
          SOURCE2=nvidia-settings-$VERSION.tar.bz2
          SOURCE3=nvidia-installer-$VERSION.tar.bz2
          SOURCE4=nvidia-xconfig-$VERSION.tar.bz2
+         SOURCE5=nvidia-linux-3.10.patch
 SOURCE_DIRECTORY=$BUILD_DIRECTORY/NVIDIA-Linux-x86_64-$VERSION-no-compat32
    SOURCE_URL[0]=ftp://download.nvidia.com/XFree86/Linux-x86_64/$VERSION
    SOURCE_URL[0]=http://download.nvidia.com/XFree86/Linux-x86_64/$VERSION
@@ -27,10 +28,12 @@ SOURCE_DIRECTORY=$BUILD_DIRECTORY/NVIDIA-Linux-x86_64-$VERSION-no-compat32
   SOURCE2_URL[1]=http://cgit.freedesktop.org/~aplattner/nvidia-settings/snapshot
   SOURCE3_URL[1]=http://cgit.freedesktop.org/~aplattner/nvidia-installer/snapshot
   SOURCE4_URL[1]=http://cgit.freedesktop.org/~aplattner/nvidia-xconfig/snapshot
+     SOURCE5_URL=$PATCH_URL
       SOURCE_VFY=sha1:9e10d2b3dce438a8ad8f7b714d98a3694eeac8cd
      SOURCE2_VFY=sha1:9d5c3438e59b29cb65fee5165478bbb8445164bc
      SOURCE3_VFY=sha1:d99206f2cbeec860c3272909031c4a20c48e2703
      SOURCE4_VFY=sha1:c166beed85a326ad5bdac2f8eb4568fa01fb56ca
+     SOURCE5_VFY=sha1:0c18544c115c767ad9e7398efa013b6bc2afe403
         WEB_SITE=http://www.nvidia.com/
          LICENSE="proprietary"
          ENTERED=20030804




More information about the Lunar-commits mailing list