- Add gcc13.diff

OBS-URL: https://build.opensuse.org/package/show/games/gzdoom?expand=0&rev=98
This commit is contained in:
Jan Engelhardt 2023-03-30 22:03:03 +00:00 committed by Git OBS Bridge
parent 138a3f6cd4
commit f7e9b6c025
3 changed files with 25 additions and 0 deletions

19
gcc13.diff Normal file
View File

@ -0,0 +1,19 @@
From: Jan Engelhardt
Date: 2023-03-30 23:52:45.534338531 +0200
Upstream: https://github.com/ZDoom/gzdoom/pull/2040
This is the g4.10.0 version of the change.
diff --git a/src/common/rendering/vulkan/thirdparty/vk_mem_alloc/vk_mem_alloc.h b/src/common/rendering/vulkan/thirdparty/vk_mem_alloc/vk_mem_alloc.h
index fd4472286..db0b94f4e 100644
--- a/src/common/rendering/vulkan/thirdparty/vk_mem_alloc/vk_mem_alloc.h
+++ b/src/common/rendering/vulkan/thirdparty/vk_mem_alloc/vk_mem_alloc.h
@@ -104,6 +104,8 @@ Documentation of all members: vk_mem_alloc.h
- [Source repository on GitHub](https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator)
*/
+#include <stdio.h>
+
#ifdef __cplusplus
extern "C" {
#endif

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Mar 30 22:02:53 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
- Add gcc13.diff
-------------------------------------------------------------------
Tue Feb 7 18:44:20 UTC 2023 - Jan Engelhardt <jengelh@inai.de>

View File

@ -32,6 +32,7 @@ Patch5: gzdoom-vulkan.patch
Patch6: gzdoom-discord.patch
Patch8: 0001-removed-some-32bit-only-CMake-code.patch
Patch9: 0001-Revert-use-static_assert-to-make-32-bit-builds-fail.patch
Patch10: gcc13.diff
BuildRequires: cmake >= 2.8.7
BuildRequires: discord-rpc-devel
BuildRequires: gcc-c++