- fix building with kernel 2.6.25
authorhawk <hawk@pld-linux.org>
Wed, 30 Apr 2008 21:47:10 +0000 (21:47 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    xorg-driver-video-nvidia.spec -> 1.146

xorg-driver-video-nvidia.spec

index 65d56749dee15123ac7777dffe62e8015c0eecc0..3f3ee53cd6be469ef8d4c3aec55a7ca52066c920 100644 (file)
@@ -27,6 +27,7 @@ Source1:      http://http.download.nvidia.com/XFree86/Linux-x86_64/%{version}/NVIDIA-
 Source2:       %{pname}-xinitrc.sh
 Patch0:                X11-driver-nvidia-GL.patch
 Patch1:                X11-driver-nvidia-desktop.patch
+Patch2:                NVIDIA_kernel-169.12-2286310.diff
 URL:           http://www.nvidia.com/object/unix.html
 %if %{with kernel}
 %{?with_dist_kernel:BuildRequires:     kernel%{_alt_kernel}-module-build >= 3:2.6.20.2}
@@ -164,6 +165,9 @@ rm -rf NVIDIA-Linux-x86*-%{version}-pkg*
 %endif
 %patch0 -p1
 %patch1 -p1
+%if "%{_kernel_ver}" >= "2.6.25"
+%patch2 -p0
+%endif
 echo 'EXTRA_CFLAGS += -Wno-pointer-arith -Wno-sign-compare -Wno-unused' >> usr/src/nv/Makefile.kbuild
 
 %build
This page took 0.096746 seconds and 4 git commands to generate.