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