[Slackbuilds-users] nvidia-driver trivial patch (vulkan typo)

King Beowulf kingbeowulf at gmail.com
Sun Mar 12 07:42:21 UTC 2017

On 03/11/2017 09:24 PM, Willy Sudiarto Raharjo wrote:
>> I can't believe I missed this when submitting the previous patch. D'OH!
>> Vulkan -> Spock's homeworld
>> Vulkan -> graphics and compute API
> I think you posted this before and i have applied your changes
> https://slackbuilds.org/cgit/slackbuilds/commit/?id=d9ebd718c491de595bfa91c0abf70e4e58c23910

Dammit.   I did it again, stupid "git" - I don't have my new reading
glasses yet so that's my excuse and I am sticking with it!

the directory should be vulkan not vulcan. "k" not "c"

diff --git a/system/nvidia-driver/nvidia-driver.SlackBuild
index a5d9257..6f30ab3 100644
--- a/system/nvidia-driver/nvidia-driver.SlackBuild
+++ b/system/nvidia-driver/nvidia-driver.SlackBuild
@@ -104,7 +104,7 @@ mkdir -p $PKG/install
   $PKG/etc/OpenCL/vendors/ $PKG/usr/lib$LIBDIRSUFFIX/{tls,vdpau} \
   $PKG/etc/X11/glvnd/egl_vendor.d \
$PKG/usr/share/{applications,nvidia,pixmaps} \
-  $PKG/usr/include/GL $PKG/etc/vulcan/icd.d $PKG/usr/doc/$PRGNAM-$VERSION
+  $PKG/usr/include/GL $PKG/etc/vulkan/icd.d $PKG/usr/doc/$PRGNAM-$VERSION

 # Main X driver and modules
 install -m 755 nvidia_drv.so
@@ -234,7 +234,7 @@ fi

 install -m 644 nvidia.icd $PKG/etc/OpenCL/vendors/
-install -m 644 nvidia_icd.json $PKG/etc/vulcan/icd.d
+install -m 644 nvidia_icd.json $PKG/etc/vulkan/icd.d
 # Shouldn't hurt to have this as well regardless of GLX client
libraries used
 install -m 644 10_nvidia.json $PKG/etc/X11/glvnd/egl_vendor.d/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20170311/990c39aa/attachment.asc>

More information about the SlackBuilds-users mailing list