]> git.pld-linux.org Git - packages/xorg-driver-video-nvidia-legacy-304xx.git/commitdiff
- fix building on linux 3.18.17+ auto/th/xorg-driver-video-nvidia-legacy-304xx-304.125-4
authorJan Rękorajski <baggins@pld-linux.org>
Wed, 8 Jul 2015 19:28:54 +0000 (21:28 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Wed, 8 Jul 2015 19:28:54 +0000 (21:28 +0200)
- rel 4

linux-4.0.patch
xorg-driver-video-nvidia-legacy-304xx.spec

index fcbc23bb5d32e20b23dee9114a811169f85360c7..ae77d1347e3e5ee549c63fd192fd7655702d174b 100644 (file)
@@ -4,7 +4,7 @@
  #define NV_SPIN_UNLOCK(lock)      spin_unlock(lock)
  #define NV_SPIN_UNLOCK_WAIT(lock) spin_unlock_wait(lock)
  
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 0, 0)
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 0, 0) || ((LINUX_VERSION_CODE >= KERNEL_VERSION(3,18,17)) && (LINUX_VERSION_CODE < KERNEL_VERSION(3,19,0)))
 +#define read_cr4 __read_cr4
 +#define write_cr4 __write_cr4
 +#endif
index b62a18dcb36612eb8292c84634295b64715ccd69..4f547ea2fd1f038aa3c0302cea1180efaf7a47f8 100644 (file)
@@ -25,7 +25,7 @@ exit 1
 
 %define                no_install_post_check_so 1
 
-%define                rel     3
+%define                rel     4
 %define                mname   nvidia-legacy-304xx
 %define                pname   xorg-driver-video-%{mname}
 Summary:       Linux Drivers for nVidia GeForce/Quadro Chips
This page took 0.103136 seconds and 4 git commands to generate.