diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-02-21 14:24:26 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-02-21 14:24:26 +0000 |
commit | 171d09fa1f429aa43835c618a2c21753ad5209a4 (patch) | |
tree | 7a9f3e0ed5e5a7dbabf98c971e8202b7ce50035b /dev-games/godot/files | |
parent | 1826a30af36ae674cb71400eacaf0a0762df510f (diff) |
gentoo auto-resync : 21:02:2023 - 14:24:25
Diffstat (limited to 'dev-games/godot/files')
-rw-r--r-- | dev-games/godot/files/godot-4.0_rc2-gcc13.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/dev-games/godot/files/godot-4.0_rc2-gcc13.patch b/dev-games/godot/files/godot-4.0_rc2-gcc13.patch new file mode 100644 index 000000000000..124e4b56a9d0 --- /dev/null +++ b/dev-games/godot/files/godot-4.0_rc2-gcc13.patch @@ -0,0 +1,21 @@ +https://bugs.gentoo.org/895706 +https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator/commit/29d492b60c8 +From: Adam Sawicki <adam.sawicki@amd.com> +Date: Thu, 19 Jan 2023 13:19:55 +0100 +Subject: [PATCH] Added missing #include <cstdio> + +For snprintf, for compatibility with GCC 13. +Fixes #312 - thanks @marxin ! +--- a/thirdparty/vulkan/vk_mem_alloc.h ++++ b/thirdparty/vulkan/vk_mem_alloc.h +@@ -2614,6 +2614,10 @@ VMA_CALL_PRE void VMA_CALL_POST vmaFreeStatsString( + #include <bit> // For std::popcount + #endif + ++#if VMA_STATS_STRING_ENABLED ++ #include <cstdio> // For snprintf ++#endif ++ + /******************************************************************************* + CONFIGURATION SECTION + |