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

linux-4.0.patch
xorg-driver-video-nvidia-legacy-340xx.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 6073a200f484303fbcbed11ab2031af5281fe1e8..81dc95893c7f9518eba1d896dcd901df61a6ffa5 100644 (file)
@@ -25,7 +25,7 @@ exit 1
 
 %define                no_install_post_check_so 1
 
-%define                rel     2
+%define                rel     3
 %define                pname   xorg-driver-video-nvidia-legacy-340xx
 Summary:       Linux Drivers for nVidia GeForce/Quadro Chips
 Summary(hu.UTF-8):     Linux meghajtók nVidia GeForce/Quadro chipekhez
This page took 0.058833 seconds and 4 git commands to generate.