games-fps/gzdoom: Patch to fix building with GCC 13

Thanks to Chris Lundgren.

Closes: https://bugs.gentoo.org/907087
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
This commit is contained in:
James Le Cuirot
2023-06-19 21:59:06 +01:00
parent b86bff22fa
commit a97fdf8a6d
2 changed files with 15 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
https://bugs.gentoo.org/907087
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 fd44722..7189d0e 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
@@ -20,6 +20,8 @@
// THE SOFTWARE.
//
+#include <cstdio>
+
#ifndef AMD_VULKAN_MEMORY_ALLOCATOR_H
#define AMD_VULKAN_MEMORY_ALLOCATOR_H

View File

@@ -30,6 +30,7 @@ S="${WORKDIR}/${PN}-g${PV}"
PATCHES=(
"${FILESDIR}"/${PN}-4.7.1-Introduce-the-BUILD_NONFREE-option.patch
"${FILESDIR}"/${P}-gcc-13.patch
)
src_prepare() {