Browse Source

xorg-x11-drv-nvidia: fix build failure with kernel > 3.7.5

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@7470 ec354946-7b23-47d6-9f5a-488ba84defc7
daisuke 12 years ago
parent
commit
6bedbe93a3
1 changed files with 9 additions and 4 deletions
  1. 9 4
      nonfree/xorg-x11-drv-nvidia/xorg-x11-drv-nvidia-vl.spec

+ 9 - 4
nonfree/xorg-x11-drv-nvidia/xorg-x11-drv-nvidia-vl.spec

@@ -8,7 +8,7 @@ Summary: Proprietary NVIDIA hardware accelerated display driver
 Summary(ja): プロプライエタリな NVIDIA ハードウエアアクセラレーションディスプレイドライバ
 Name: xorg-x11-drv-nvidia
 Version: 310.32
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: Redistributable, no modification permitted
 Group: User Interface/X Hardware Support
 URL: http://www.nvidia.com/object/unix.html
@@ -24,8 +24,9 @@ Source5: nvidia.modprobe
 Source6: nvidia.nodes
 Source7: blacklist-nouveau.conf
 Source8: 50-nvidia.rules
-# http://www.nvnews.net/vbulletin/attachment.php?attachmentid=20486&d=1158955681
-#Patch0: NVIDIA_kernel-1.0-9625-NOSMBUS.diff.txt
+
+# fix to build for kernel > 3.7.5
+Patch0: nvidia-310.32-support-newer-kernel.patch
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 # Required for proper dkms operation
@@ -104,7 +105,8 @@ sh %{SOURCE1} --extract-only --target tmp/
 # Move all the files back from tmp/ to the main directory
 %{__mv} tmp/* .
 %{__rm} -rf tmp/
-#%patch0 -p0
+
+%patch0 -p0
 
 
 %build
@@ -404,6 +406,9 @@ fi
 
 
 %changelog
+* Fri Feb 15 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 310.32-2
+- add patch0 to build for kernel > 3.7.5
+
 * Wed Feb 13 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 310.32-1
 - update to 310.32