From 8d2269f561fab9b4803c7dd615eb40b5d18da263 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Sun, 26 Jul 2020 16:35:59 +0200 Subject: [PATCH] gtk4: fix build w/ newer vulkan --- .../gtk4/patches/vulkan-VK_RESULT_RANGE_SIZE.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 srcpkgs/gtk4/patches/vulkan-VK_RESULT_RANGE_SIZE.patch diff --git a/srcpkgs/gtk4/patches/vulkan-VK_RESULT_RANGE_SIZE.patch b/srcpkgs/gtk4/patches/vulkan-VK_RESULT_RANGE_SIZE.patch new file mode 100644 index 00000000000..7275e958bba --- /dev/null +++ b/srcpkgs/gtk4/patches/vulkan-VK_RESULT_RANGE_SIZE.patch @@ -0,0 +1,12 @@ +--- gdk/gdkvulkancontext.c 2018-06-26 13:48:16.000000000 +0200 ++++ gdk/gdkvulkancontext.c 2020-07-26 16:28:33.487718532 +0200 +@@ -190,7 +190,9 @@ + case VK_ERROR_FRAGMENTATION_EXT: + return "A descriptor pool creation has failed due to fragmentation"; + #endif ++#if defined(VK_RESULT_RANGE_SIZE) + case VK_RESULT_RANGE_SIZE: ++#endif + case VK_RESULT_MAX_ENUM: + default: + return "Unknown Vulkan error.";