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.
This commit is contained in:
Jürgen Buchmüller 2020-09-15 00:05:53 +02:00
parent 46cb66d525
commit 85bd38d225
2 changed files with 1 additions and 1 deletions

View file

@ -23,7 +23,6 @@ if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
_pkg="NVIDIA-Linux-x86-${version}" _pkg="NVIDIA-Linux-x86-${version}"
distfiles="http://uk.download.nvidia.com/XFree86/Linux-x86/${version}/${_pkg}.run" distfiles="http://uk.download.nvidia.com/XFree86/Linux-x86/${version}/${_pkg}.run"
checksum=7bf67323a393e857a09f979f155baa1ed13183653add0c344edf4d409f977878 checksum=7bf67323a393e857a09f979f155baa1ed13183653add0c344edf4d409f977878
broken="https://build.voidlinux.org/builders/i686_builder/builds/27364/steps/shell_3/logs/stdio"
else else
_pkg="NVIDIA-Linux-x86_64-${version}-no-compat32" _pkg="NVIDIA-Linux-x86_64-${version}-no-compat32"
distfiles="http://uk.download.nvidia.com/XFree86/Linux-x86_64/${version}/${_pkg}.run" distfiles="http://uk.download.nvidia.com/XFree86/Linux-x86_64/${version}/${_pkg}.run"
@ -43,6 +42,7 @@ pre_install() {
cd ${_pkg} cd ${_pkg}
cp nvidia_icd.json.template nvidia_icd.json cp nvidia_icd.json.template nvidia_icd.json
sed -i -e 's:__NV_VK_ICD__:libGLX_nvidia.so.0:g' 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() { do_install() {