From ec279bb99240b90b5b6ad7e7e7311cf24e40c20d Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 2 Sep 2015 12:59:45 +0200 Subject: [PATCH] nvidia304: update to 304.128. --- srcpkgs/nvidia304/files/linux-3.19.patch | 20 -------------------- srcpkgs/nvidia304/template | 10 ++++------ 2 files changed, 4 insertions(+), 26 deletions(-) delete mode 100644 srcpkgs/nvidia304/files/linux-3.19.patch diff --git a/srcpkgs/nvidia304/files/linux-3.19.patch b/srcpkgs/nvidia304/files/linux-3.19.patch deleted file mode 100644 index 0f2bb81b85..0000000000 --- a/srcpkgs/nvidia304/files/linux-3.19.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- kernel/nv.c 2014-12-02 04:58:34.000000000 +0100 -+++ kernel/nv.c 2014-12-21 17:50:33.420697348 +0100 -@@ -2026,7 +2026,7 @@ long nv_kern_unlocked_ioctl( - unsigned long i_arg - ) - { -- return nv_kern_ioctl(file->f_dentry->d_inode, file, cmd, i_arg); -+ return nv_kern_ioctl(file->f_path.dentry->d_inode, file, cmd, i_arg); - } - - long nv_kern_compat_ioctl( -@@ -2035,7 +2035,7 @@ long nv_kern_compat_ioctl( - unsigned long i_arg - ) - { -- return nv_kern_ioctl(file->f_dentry->d_inode, file, cmd, i_arg); -+ return nv_kern_ioctl(file->f_path.dentry->d_inode, file, cmd, i_arg); - } - - /* diff --git a/srcpkgs/nvidia304/template b/srcpkgs/nvidia304/template index f947cba377..7faabefebf 100644 --- a/srcpkgs/nvidia304/template +++ b/srcpkgs/nvidia304/template @@ -2,8 +2,8 @@ _desc="NVIDIA drivers for linux (304.xx series)" pkgname=nvidia304 -version=304.125 -revision=8 +version=304.128 +revision=1 maintainer="Juan RP " license="Propietary NVIDIA license" homepage="http://www.nvidia.com" @@ -21,11 +21,11 @@ subpackages="${pkgname}-dkms ${pkgname}-opencl ${pkgname}-libs" if [ "${XBPS_TARGET_MACHINE}" = "i686" ]; then _pkg="NVIDIA-Linux-x86-${version}" distfiles="http://us.download.nvidia.com/XFree86/Linux-x86/${version}/${_pkg}.run" - checksum=aec5b3a792910e152d5af756ef6fd7224c448c564564c7c448ab8ec3fc78c4f7 + checksum=f6aa695b3375473e3444412e4a3b7ef6bd8b13e3f3678f4cbe7a3649b5129068 else _pkg="NVIDIA-Linux-x86_64-${version}-no-compat32" distfiles="http://us.download.nvidia.com/XFree86/Linux-x86_64/${version}/${_pkg}.run" - checksum=aa3c40a967b8d81cfb96efe3c9402e356901bdc76a697b15786edd636784e622 + checksum=f54bf11d1d315035fed1214233a92b97918ed3dabbb3fe8489bf8651f6d90ca1 fi do_extract() { @@ -36,9 +36,7 @@ do_extract() { } do_configure() { cd ${_pkg} - patch -sNp0 -i ${FILESDIR}/linux-3.19.patch patch -sNp0 -i ${XBPS_SRCPKGDIR}/nvidia-stable/files/nv-drm.patch - patch -sNp0 -i ${XBPS_SRCPKGDIR}/nvidia-stable/files/linux-4.0.patch } do_install() { cd ${_pkg}