nvidia: make the dkms module build on kernels up to .20.

This commit is contained in:
Juan RP 2013-02-13 10:14:17 +01:00
parent 76994f04d8
commit 9358a96f27
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'nvidia'
pkgname=nvidia
version=313.18
revision=2
revision=3
short_desc="NVIDIA non free driver for linux -- libraries and utilities"
maintainer="Juan RP <xtraeme@gmail.com>"
license="Propietary NVIDIA license"
@ -33,7 +33,7 @@ do_extract() {
do_install() {
cd ${_pkg}
sed -i -e "s,\(SUBLEVEL -le\) 5,\1 6," kernel/conftest.sh
sed -i -e "s,\(SUBLEVEL -le\) 5,\1 20," kernel/conftest.sh
# X driver
vinstall nvidia_drv.so 755 usr/lib/xorg/modules/drivers