nvidia-stable: apply 3.18 compat patch too.

This commit is contained in:
Juan RP 2015-01-08 17:50:31 +01:00
parent 91747ab889
commit d7173dc597
1 changed files with 5 additions and 1 deletions

View File

@ -4,7 +4,7 @@ _desc="NVIDIA drivers for linux (long-lived series)"
pkgname=nvidia-stable pkgname=nvidia-stable
version=340.65 version=340.65
revision=2 revision=3
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
license="Propietary NVIDIA license" license="Propietary NVIDIA license"
homepage="http://www.nvidia.com" homepage="http://www.nvidia.com"
@ -37,6 +37,10 @@ do_extract() {
./${_pkg}.run --extract-only ./${_pkg}.run --extract-only
rm -f ${_pkg}.run rm -f ${_pkg}.run
} }
do_configure() {
cd ${_pkg}
patch -sNp0 -i ${XBPS_SRCPKGDIR}/nvidia/files/linux-3.18-drm.patch
}
do_install() { do_install() {
cd ${_pkg} cd ${_pkg}