gentoo-ebuilds/games-puzzle/pingus/files/pingus-0.7.6-gcc15.patch
Pacho Ramos e2bc7245e3
games-puzzle/pingus: Fix gcc-15 compatibility
With Fedora fixes.

Closes: https://bugs.gentoo.org/937559
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
2025-06-28 20:09:21 +02:00

21 lines
645 B
Diff

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"