From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-games/godot/, dev-games/godot/files/
Date: Tue, 21 Feb 2023 12:16:34 +0000 (UTC) [thread overview]
Message-ID: <1676981769.a079caaa459df1b3661baf5a188e52e02af8bbdc.ionen@gentoo> (raw)
commit: a079caaa459df1b3661baf5a188e52e02af8bbdc
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 21 11:38:06 2023 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Feb 21 12:16:09 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a079caaa
dev-games/godot: backport gcc13 build fix
Well, backport from the thirdparty's upstream,
godot itself still needs to update.
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
dev-games/godot/files/godot-4.0_rc2-gcc13.patch | 21 +++++++++++++++++++++
dev-games/godot/godot-4.0_rc2.ebuild | 1 +
2 files changed, 22 insertions(+)
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
+
diff --git a/dev-games/godot/godot-4.0_rc2.ebuild b/dev-games/godot/godot-4.0_rc2.ebuild
index d031d3f1fcaf..d2601d52d4ff 100644
--- a/dev-games/godot/godot-4.0_rc2.ebuild
+++ b/dev-games/godot/godot-4.0_rc2.ebuild
@@ -65,6 +65,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-4.0_beta3-headless-header.patch
"${FILESDIR}"/${PN}-4.0_beta8-scons.patch
"${FILESDIR}"/${PN}-4.0_rc2-musl.patch
+ "${FILESDIR}"/${PN}-4.0_rc2-gcc13.patch
)
src_prepare() {
next reply other threads:[~2023-02-21 12:16 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-21 12:16 Ionen Wolkens [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-08-29 5:16 [gentoo-commits] repo/gentoo:master commit in: dev-games/godot/, dev-games/godot/files/ Ionen Wolkens
2023-10-04 14:25 Ionen Wolkens
2023-08-03 11:58 Ionen Wolkens
2023-07-07 9:16 Ionen Wolkens
2023-06-05 13:39 Ionen Wolkens
2023-03-25 3:19 Ionen Wolkens
2023-02-24 9:26 Ionen Wolkens
2023-02-17 1:43 Ionen Wolkens
2022-08-16 0:01 Ionen Wolkens
2022-08-16 0:01 Ionen Wolkens
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1676981769.a079caaa459df1b3661baf5a188e52e02af8bbdc.ionen@gentoo \
--to=ionen@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox