mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-02 11:38:07 -07:00
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:
14
games-fps/gzdoom/files/gzdoom-4.10.0-gcc-13.patch
Normal file
14
games-fps/gzdoom/files/gzdoom-4.10.0-gcc-13.patch
Normal 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
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user