From: "Pacho Ramos" <pacho@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-puzzle/pingus/, games-puzzle/pingus/files/
Date: Sat, 28 Jun 2025 18:09:50 +0000 (UTC) [thread overview]
Message-ID: <1751134161.e2bc7245e3b3d252bf0a2923e3e281106a81baea.pacho@gentoo> (raw)
commit: e2bc7245e3b3d252bf0a2923e3e281106a81baea
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 28 18:06:50 2025 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sat Jun 28 18:09:21 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2bc7245
games-puzzle/pingus: Fix gcc-15 compatibility
With Fedora fixes.
Closes: https://bugs.gentoo.org/937559
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
games-puzzle/pingus/files/pingus-0.7.6-gcc15.patch | 21 +++++++++++++++++++++
games-puzzle/pingus/pingus-0.7.6-r5.ebuild | 2 ++
2 files changed, 23 insertions(+)
diff --git a/games-puzzle/pingus/files/pingus-0.7.6-gcc15.patch b/games-puzzle/pingus/files/pingus-0.7.6-gcc15.patch
new file mode 100644
index 000000000000..69bf852caac3
--- /dev/null
+++ b/games-puzzle/pingus/files/pingus-0.7.6-gcc15.patch
@@ -0,0 +1,21 @@
+https://github.com/gentoo/gentoo/pull/40367
+--- a/src/engine/display/font.hpp~ 2011-12-24 15:46:47.000000000 -0600
++++ b/src/engine/display/font.hpp 2025-02-03 14:08:33.568660344 -0600
+@@ -18,6 +18,7 @@
+ #define HEADER_PINGUS_ENGINE_DISPLAY_FONT_HPP
+
+ #include <memory>
++#include <cstdint>
+
+ #include "math/rect.hpp"
+
+--- a/src/pingus/collision_map.hpp~ 2011-12-24 15:46:47.000000000 -0600
++++ b/src/pingus/collision_map.hpp 2025-02-03 14:18:53.845089769 -0600
+@@ -18,6 +18,7 @@
+ #define HEADER_PINGUS_PINGUS_COLLISION_MAP_HPP
+
+ #include <memory>
++#include <cstdint>
+
+ #include "engine/display/sprite.hpp"
+ #include "pingus/groundtype.hpp"
diff --git a/games-puzzle/pingus/pingus-0.7.6-r5.ebuild b/games-puzzle/pingus/pingus-0.7.6-r5.ebuild
index b4eb8142d0fb..129492d0b054 100644
--- a/games-puzzle/pingus/pingus-0.7.6-r5.ebuild
+++ b/games-puzzle/pingus/pingus-0.7.6-r5.ebuild
@@ -36,10 +36,12 @@ PATCHES=(
"${FILESDIR}"/${P}-python3.patch
"${FILESDIR}"/${P}-gcc13.patch
"${FILESDIR}"/${P}-ar-detection.patch
+ "${FILESDIR}"/${P}-gcc15.patch
)
src_compile() {
strip-flags
+ append-cxxflags -std=c++17
escons \
AR="$(tc-getAR)" \
CXX="$(tc-getCXX)" \
next reply other threads:[~2025-06-28 18:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-28 18:09 Pacho Ramos [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-06-12 22:06 [gentoo-commits] repo/gentoo:master commit in: games-puzzle/pingus/, games-puzzle/pingus/files/ Ionen Wolkens
2020-08-17 17:20 Pacho Ramos
2019-04-03 16:11 Lars Wendler
2016-08-23 17:20 Lars Wendler
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=1751134161.e2bc7245e3b3d252bf0a2923e3e281106a81baea.pacho@gentoo \
--to=pacho@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