diff --git a/gcc13.diff b/gcc13.diff new file mode 100644 index 0000000..027ae93 --- /dev/null +++ b/gcc13.diff @@ -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 ++ + #ifdef __cplusplus + extern "C" { + #endif diff --git a/gzdoom.changes b/gzdoom.changes index 201e269..c666182 100644 --- a/gzdoom.changes +++ b/gzdoom.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Mar 30 22:02:53 UTC 2023 - Jan Engelhardt + +- Add gcc13.diff + ------------------------------------------------------------------- Tue Feb 7 18:44:20 UTC 2023 - Jan Engelhardt diff --git a/gzdoom.spec b/gzdoom.spec index 35be4bb..9ca3a70 100644 --- a/gzdoom.spec +++ b/gzdoom.spec @@ -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++