From 85bd38d2255b53f1e4f92ca343516dda57ecd8db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Tue, 15 Sep 2020 00:05:53 +0200 Subject: [PATCH] nvidia390: fix i686 I known this patch could somehow be applied automagically from srcpkgs/nvidia390/patches yet a) I'm lazy and b) I'm not too sober. Please bear with me. --- srcpkgs/nvidia390/{patches => files}/linux-5.8.x.patch | 0 srcpkgs/nvidia390/template | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename srcpkgs/nvidia390/{patches => files}/linux-5.8.x.patch (100%) diff --git a/srcpkgs/nvidia390/patches/linux-5.8.x.patch b/srcpkgs/nvidia390/files/linux-5.8.x.patch similarity index 100% rename from srcpkgs/nvidia390/patches/linux-5.8.x.patch rename to srcpkgs/nvidia390/files/linux-5.8.x.patch diff --git a/srcpkgs/nvidia390/template b/srcpkgs/nvidia390/template index 24479391a67..4fb6ff6ec88 100644 --- a/srcpkgs/nvidia390/template +++ b/srcpkgs/nvidia390/template @@ -23,7 +23,6 @@ if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then _pkg="NVIDIA-Linux-x86-${version}" distfiles="http://uk.download.nvidia.com/XFree86/Linux-x86/${version}/${_pkg}.run" checksum=7bf67323a393e857a09f979f155baa1ed13183653add0c344edf4d409f977878 - broken="https://build.voidlinux.org/builders/i686_builder/builds/27364/steps/shell_3/logs/stdio" else _pkg="NVIDIA-Linux-x86_64-${version}-no-compat32" distfiles="http://uk.download.nvidia.com/XFree86/Linux-x86_64/${version}/${_pkg}.run" @@ -43,6 +42,7 @@ pre_install() { cd ${_pkg} cp nvidia_icd.json.template nvidia_icd.json sed -i -e 's:__NV_VK_ICD__:libGLX_nvidia.so.0:g' nvidia_icd.json + patch -Np1 < ${FILESDIR}/linux-5.8.x.patch } do_install() {