nvidia304: update to 304.128.

This commit is contained in:
Juan RP 2015-09-02 12:59:45 +02:00
parent 451fd13e18
commit ec279bb992
2 changed files with 4 additions and 26 deletions

View file

@ -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);
}
/*

View file

@ -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 <xtraeme@voidlinux.eu>"
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}