Accepting request 990571 from X11:Wayland
- Add 0001-vulkaninfo-include-wayland-client-because-its-functi.patch OBS-URL: https://build.opensuse.org/request/show/990571 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vulkan-tools?expand=0&rev=36
This commit is contained in:
commit
a1870b3246
@ -0,0 +1,30 @@
|
|||||||
|
From d76fa203ac51014158060915835ed92bf5018b2a Mon Sep 17 00:00:00 2001
|
||||||
|
From: Jan Engelhardt <jengelh@inai.de>
|
||||||
|
Date: Thu, 21 Jul 2022 15:22:26 +0200
|
||||||
|
Subject: [PATCH] vulkaninfo: include wayland-client because its functions are
|
||||||
|
used
|
||||||
|
|
||||||
|
"Include what you use": vulkaninfo.h calls wl_registry_bind, thus
|
||||||
|
ought to include wayland-client.h.
|
||||||
|
---
|
||||||
|
vulkaninfo/vulkaninfo.h | 4 ++++
|
||||||
|
1 file changed, 4 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/vulkaninfo/vulkaninfo.h b/vulkaninfo/vulkaninfo.h
|
||||||
|
index 1a1e9f95..e6618d35 100644
|
||||||
|
--- a/vulkaninfo/vulkaninfo.h
|
||||||
|
+++ b/vulkaninfo/vulkaninfo.h
|
||||||
|
@@ -79,6 +79,10 @@
|
||||||
|
#include "metal_view.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
+#if defined(VK_USE_PLATFORM_WAYLAND_KHR)
|
||||||
|
+#include <wayland-client.h>
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
#include <vulkan/vulkan.h>
|
||||||
|
|
||||||
|
static std::string VkResultString(VkResult err);
|
||||||
|
--
|
||||||
|
2.37.1
|
||||||
|
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jul 21 14:16:09 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Add 0001-vulkaninfo-include-wayland-client-because-its-functi.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jun 15 12:39:26 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
|
Wed Jun 15 12:39:26 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
@ -25,6 +25,7 @@ Group: Development/Tools/Other
|
|||||||
URL: https://github.com/KhronosGroup/Vulkan-Tools
|
URL: https://github.com/KhronosGroup/Vulkan-Tools
|
||||||
|
|
||||||
Source: https://github.com/KhronosGroup/Vulkan-Tools/archive/sdk-%version.tar.gz
|
Source: https://github.com/KhronosGroup/Vulkan-Tools/archive/sdk-%version.tar.gz
|
||||||
|
Patch1: 0001-vulkaninfo-include-wayland-client-because-its-functi.patch
|
||||||
BuildRequires: cmake >= 3.4
|
BuildRequires: cmake >= 3.4
|
||||||
BuildRequires: gcc-c++ >= 4.8
|
BuildRequires: gcc-c++ >= 4.8
|
||||||
BuildRequires: glslang-devel >= 8.13.3743
|
BuildRequires: glslang-devel >= 8.13.3743
|
||||||
|
Loading…
Reference in New Issue
Block a user