split kernel 4.7 compatibility patch into non-uvm and uvm parts
[packages/xorg-driver-video-nvidia.git] / xorg-driver-video-nvidia.spec
index f6f6de2a16e0d2e792d7e89658ec6884c3a5bbb3..3a1e8e0a1b9a9dbd1b340771de8fd3cc921bc47e 100644 (file)
@@ -48,6 +48,7 @@ Source5:      10-nvidia-modules.conf
 Patch0:                X11-driver-nvidia-GL.patch
 Patch1:                X11-driver-nvidia-desktop.patch
 Patch2:                linux-4.7.patch
+Patch3:                linux-4.7-uvm.patch
 URL:           http://www.nvidia.com/object/unix.html
 BuildRequires: rpmbuild(macros) >= 1.701
 %{?with_kernel:%{expand:%buildrequires_kernel kernel%%{_alt_kernel}-module-build >= 3:2.6.20.2}}
@@ -253,6 +254,9 @@ rm -rf NVIDIA-Linux-x86*-%{version}*
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%ifarch %{x8664}
+%patch3 -p1
+%endif
 echo 'EXTRA_CFLAGS += -Wno-pointer-arith -Wno-sign-compare -Wno-unused' >> kernel/Makefile.kbuild
 
 %build
This page took 0.069957 seconds and 4 git commands to generate.