From 83513d36efafa739373a0f06d6f4f5e21f8dbb3e Mon Sep 17 00:00:00 2001 From: David Flatz Date: Mon, 5 Feb 2018 13:53:21 +0100 Subject: [PATCH] nvidia: update to 390.25 Closes: #11403 [via git-merge-pr] --- common/shlibs | 2 +- .../nvidia-x86_64-uvm8_va_block-linux_4_14_9.patch | 4 ++-- srcpkgs/nvidia/template | 12 ++++++------ 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/common/shlibs b/common/shlibs index 22fb015431..692333a425 100644 --- a/common/shlibs +++ b/common/shlibs @@ -140,7 +140,7 @@ libnvidia-gtk2.so.346.47 nvidia-gtklibs-346.47_1 ignore libnvidia-gtk3.so.346.47 nvidia-gtklibs-346.47_1 ignore libnvidia-glcore.so.346.47 nvidia340-libs-340.46_1 ignore libnvidia-glsi.so.346.72 nvidia-libs-346.72_1 ignore -libnvidia-fatbinaryloader.so.384.98 nvidia-libs-384.98_1 ignore +libnvidia-fatbinaryloader.so.390.25 nvidia-libs-390.25_1 ignore libglapi.so.0 libglapi-7.11_1 libgbm.so.1 libgbm-9.0_1 librsvg-2.so.2 librsvg-2.26.0_1 diff --git a/srcpkgs/nvidia/files/nvidia-x86_64-uvm8_va_block-linux_4_14_9.patch b/srcpkgs/nvidia/files/nvidia-x86_64-uvm8_va_block-linux_4_14_9.patch index f9fae492b8..e399880284 100644 --- a/srcpkgs/nvidia/files/nvidia-x86_64-uvm8_va_block-linux_4_14_9.patch +++ b/srcpkgs/nvidia/files/nvidia-x86_64-uvm8_va_block-linux_4_14_9.patch @@ -2,8 +2,8 @@ Since linux-4.14.9 there has been some kernel headers reordering. Fix that issue by including linux/sched/task_stack.h for kernels newer than 4.14.9. ---- NVIDIA-Linux-x86_64-384.98-no-compat32/kernel/nvidia-uvm/uvm8_va_block.c 2017-10-27 01:19:54.000000000 +0200 -+++ NVIDIA-Linux-x86_64-384.98-no-compat32/kernel/nvidia-uvm/uvm8_va_block.c 2018-01-02 02:50:05.260588964 +0100 +--- NVIDIA-Linux-x86_64-390.25-no-compat32/kernel/nvidia-uvm/uvm8_va_block.c 2017-10-27 01:19:54.000000000 +0200 ++++ NVIDIA-Linux-x86_64-390.25-no-compat32/kernel/nvidia-uvm/uvm8_va_block.c 2018-01-02 02:50:05.260588964 +0100 @@ -36,6 +36,10 @@ #include "uvm8_perf_prefetch.h" #include "uvm8_mem.h" diff --git a/srcpkgs/nvidia/template b/srcpkgs/nvidia/template index f40431e0d9..10583c162b 100644 --- a/srcpkgs/nvidia/template +++ b/srcpkgs/nvidia/template @@ -3,8 +3,8 @@ _desc="NVIDIA drivers for linux (long-lived series)" pkgname=nvidia -version=384.98 -revision=3 +version=390.25 +revision=1 maintainer="Juan RP " license="Proprietary NVIDIA license" homepage="http://www.nvidia.com" @@ -24,11 +24,11 @@ build_options_default="glvnd" if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then _pkg="NVIDIA-Linux-x86-${version}" distfiles="http://uk.download.nvidia.com/XFree86/Linux-x86/${version}/${_pkg}.run" - checksum=93e38818b8fc5d0fc34f05449c15808e774de389545475a9536ffb6555b3bb57 + checksum=1183552b46409a3c09caa172da5a296b56078d178c5ad272bed7101a40bf6b3a else _pkg="NVIDIA-Linux-x86_64-${version}-no-compat32" distfiles="http://uk.download.nvidia.com/XFree86/Linux-x86_64/${version}/${_pkg}.run" - checksum=169909c756ce01abcb676d704638003f3b782173a8ea82f2de798e40212780f5 + checksum=02263bc81b66e68fc8224447b249f4f0ca4ae201c467e236d917be2fe187f3d6 fi subpackages="nvidia-gtklibs nvidia-dkms nvidia-opencl nvidia-libs" @@ -108,8 +108,8 @@ do_install() { vinstall libGLESv2.so.2 755 usr/lib ln -sf libGLESv2.so.2 ${DESTDIR}/usr/lib/libGLESv2.so - vinstall libnvidia-egl-wayland.so.1.0.1 755 usr/lib - ln -sf libnvidia-egl-wayland.so.1.0.1 ${DESTDIR}/usr/lib/libnvidia-egl-wayland.so.1 + vinstall libnvidia-egl-wayland.so.1.0.2 755 usr/lib + ln -sf libnvidia-egl-wayland.so.1.0.2 ${DESTDIR}/usr/lib/libnvidia-egl-wayland.so.1 vinstall 10_nvidia.json 755 usr/share/glvnd/egl_vendor.d vinstall 10_nvidia_wayland.json 755 usr/share/egl/egl_external_platform.d