From 1f281341240fe3c9e5496d8c4ac0138379f1c149 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 5 Feb 2015 07:10:24 +0100 Subject: [PATCH] nvidia304: apply linux-3.18 patch from nvidia; accept xorg-server-1.17. --- srcpkgs/nvidia304/template | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/srcpkgs/nvidia304/template b/srcpkgs/nvidia304/template index 84630d345a..02a2476cab 100644 --- a/srcpkgs/nvidia304/template +++ b/srcpkgs/nvidia304/template @@ -3,7 +3,7 @@ _desc="NVIDIA drivers for linux (304.xx series)" pkgname=nvidia304 version=304.125 -revision=2 +revision=3 maintainer="Juan RP " license="Propietary NVIDIA license" homepage="http://www.nvidia.com" @@ -12,7 +12,7 @@ repository="nonfree" create_wrksrc=yes only_for_archs="i686 x86_64" short_desc="${_desc} - Libraries and Utilities" -depends="virtual?xserver-abi-video<19 ${pkgname}-dkms-${version}_${revision} pkg-config" +depends="virtual?xserver-abi-video<20 ${pkgname}-dkms-${version}_${revision} pkg-config" provides="nvidia-${version}_${revision} libGL-${version}_${revision}" replaces="nvidia>=0 libGL>=0" conflicts="catalyst>=0" @@ -33,6 +33,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.patch +} do_install() { cd ${_pkg}