nvidia304: add patches for linux>=3.7.
This commit is contained in:
parent
03277b9560
commit
4100974d11
1 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'nvidia304'
|
||||
pkgname=nvidia304
|
||||
version=304.64
|
||||
revision=4
|
||||
revision=5
|
||||
short_desc="NVIDIA drivers for linux (304.xx series) -- libraries and utilities"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
license="Propietary NVIDIA license"
|
||||
|
@ -10,7 +10,6 @@ homepage="http://www.nvidia.com"
|
|||
create_wrksrc=yes
|
||||
noextract=yes
|
||||
nonfree=yes
|
||||
disable_debug=yes
|
||||
provides="nvidia-${version}"
|
||||
replaces="nvidia>=0"
|
||||
subpackages="${pkgname}-dkms ${pkgname}-opencl"
|
||||
|
@ -36,7 +35,8 @@ do_extract() {
|
|||
do_install() {
|
||||
cd ${_pkg}
|
||||
|
||||
sed -i -e "s,\(SUBLEVEL -le\) 5,\1 20," kernel/conftest.sh
|
||||
patch -Np0 -i ${FILESDIR}/linux-3.7.patch
|
||||
patch -Np0 -i ${FILESDIR}/uapi-3.7.patch
|
||||
|
||||
# X driver
|
||||
vinstall nvidia_drv.so 755 usr/lib/xorg/modules/drivers
|
||||
|
|
Loading…
Reference in a new issue