On 2021/10/23 19:27, Keltir wrote:
> 
> Hello,
> 
> GLFW port lacks Vulkan integration support 
> [https://www.glfw.org/docs/latest/vulkan_guide.html]. Basically it has 
> incorrect lib name in source code.
> I created patch, you can find it below. Would be great if someone can include 
> it in port and rebuild pkg!
> 
> $cat patch-src-vulkan-support
> --- src/vulkan.c.orig Mon Mar 22 00:23:17 2021
> +++ src/vulkan.c      Fri Oct 22 02:54:00 2021
> @@ -60,7 +60,7 @@
>      if (!_glfw.vk.handle)
>          _glfw.vk.handle = _glfwLoadLocalVulkanLoaderNS();
> #else
> -    _glfw.vk.handle = _glfw_dlopen("libvulkan.so.1");
> +    _glfw.vk.handle = _glfw_dlopen("libvulkan.so.0.1");

This should not hardcode the version number, try just "libvulkan.so"

> #endif
>      if (!_glfw.vk.handle)
>      {
> 
> Best Regard,
> Keltir
> 

Reply via email to