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)" \
