nvidia: update to 346.59.

This commit is contained in:
Juan RP 2015-04-07 20:53:45 +02:00
parent 1625033714
commit 767522eb2c
2 changed files with 5 additions and 18 deletions

View file

@ -1,13 +0,0 @@
--- kernel/nv-drm.c 2014-11-08 00:57:53.000000000 +0100
+++ kernel/nv-drm.c 2014-11-13 21:03:37.589650873 +0100
@@ -128,6 +128,10 @@ static struct drm_driver nv_drm_driver =
.gem_prime_vmap = nv_gem_prime_vmap,
.gem_prime_vunmap = nv_gem_prime_vunmap,
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 18, 0)
+ .set_busid = drm_pci_set_busid,
+#endif
+
.name = "nvidia-drm",
.desc = "NVIDIA DRM driver",
.date = "20130102",

View file

@ -3,8 +3,8 @@
_desc="NVIDIA drivers for linux"
pkgname=nvidia
version=346.47
revision=4
version=346.59
revision=1
maintainer="Juan RP <xtraeme@gmail.com>"
license="Propietary NVIDIA license"
homepage="http://www.nvidia.com"
@ -19,11 +19,11 @@ conflicts="xserver-abi-video>20"
if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
_pkg="NVIDIA-Linux-x86-${version}"
distfiles="http://us.download.nvidia.com/XFree86/Linux-x86/${version}/NVIDIA-Linux-x86-${version}.run"
checksum=bb21527dfcd9855e3ae53ae5b56c29456902354c79f76d859d007068cdf76a6e
checksum=65cf83fccc02399d54212cbeea1c2364e4974687c3ad6cba87cc109476ad2129
else
_pkg="NVIDIA-Linux-x86_64-${version}-no-compat32"
distfiles="http://us.download.nvidia.com/XFree86/Linux-x86_64/${version}/NVIDIA-Linux-x86_64-${version}-no-compat32.run"
checksum=d1b6672a9ddef2a01a527902b524dec232792cf9b61d3fa7bd0189488a961677
checksum=4c7941e9248a931b720f050c38822708aa8176c4464fc40d02e1c7dd7ebbe767
fi
subpackages="nvidia-gtklibs nvidia-dkms nvidia-opencl nvidia-libs"
@ -36,7 +36,7 @@ do_extract() {
}
do_configure() {
cd ${_pkg}
patch -sNp0 -i ${FILESDIR}/linux-3.18.patch
# patches
}
do_install() {
cd ${_pkg}