From: "Marek Szuba" <marecki@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-engines/minetest/files/, games-engines/minetest/
Date: Tue, 30 Jan 2024 12:04:43 +0000 (UTC) [thread overview]
Message-ID: <1706616263.5576b969a6d58b981253397287bf4fd3d76e8e64.marecki@gentoo> (raw)
commit: 5576b969a6d58b981253397287bf4fd3d76e8e64
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 30 11:46:28 2024 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Tue Jan 30 12:04:23 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5576b969
games-engines/minetest: fix gcc-14 build error
Thanks-to: Alfred Wingate <parona <AT> protonmail.com>
Closes: https://bugs.gentoo.org/921131
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
.../files/minetest-5.8.0-include_algorithm.patch | 20 ++++++++++++++++++++
games-engines/minetest/minetest-5.8.0.ebuild | 1 +
2 files changed, 21 insertions(+)
diff --git a/games-engines/minetest/files/minetest-5.8.0-include_algorithm.patch b/games-engines/minetest/files/minetest-5.8.0-include_algorithm.patch
new file mode 100644
index 000000000000..ac19a58de751
--- /dev/null
+++ b/games-engines/minetest/files/minetest-5.8.0-include_algorithm.patch
@@ -0,0 +1,20 @@
+From https://github.com/minetest/minetest/commit/c9ab61aa8cd0ca50bc8c4d90f257bb5ed3b0bb00
+https://bugs.gentoo.org/921131
+
+From: Alfred Wingate <parona@protonmail.com>
+Date: Sun, 31 Dec 2023 17:39:01 +0200
+Subject: [PATCH] Add missing header for gcc-14
+
+https://gcc.gnu.org/gcc-14/porting_to.html
+
+Signed-off-by: Alfred Wingate <parona@protonmail.com>
+--- a/src/client/sound/sound_data.cpp
++++ b/src/client/sound/sound_data.cpp
+@@ -25,6 +25,7 @@ with this program; ifnot, write to the Free Software Foundation, Inc.,
+ #include "sound_data.h"
+
+ #include "sound_constants.h"
++#include <algorithm>
+
+ namespace sound {
+
diff --git a/games-engines/minetest/minetest-5.8.0.ebuild b/games-engines/minetest/minetest-5.8.0.ebuild
index 3e87af07e57c..7e29fe96d7ad 100644
--- a/games-engines/minetest/minetest-5.8.0.ebuild
+++ b/games-engines/minetest/minetest-5.8.0.ebuild
@@ -66,6 +66,7 @@ BDEPEND="
PATCHES=(
"${FILESDIR}"/${PN}-5.7.0-no_upstream_optflags.patch
+ "${FILESDIR}"/${PN}-5.8.0-include_algorithm.patch
)
src_prepare() {
next reply other threads:[~2024-01-30 12:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-30 12:04 Marek Szuba [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-10-04 8:27 [gentoo-commits] repo/gentoo:master commit in: games-engines/minetest/files/, games-engines/minetest/ Sam James
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=1706616263.5576b969a6d58b981253397287bf4fd3d76e8e64.marecki@gentoo \
--to=marecki@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