diff --git a/games-arcade/berusky/berusky-1.7.1-r2.ebuild b/games-arcade/berusky/berusky-1.7.1-r2.ebuild index 65f429dfe17fb..f50ada36626b9 100644 --- a/games-arcade/berusky/berusky-1.7.1-r2.ebuild +++ b/games-arcade/berusky/berusky-1.7.1-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -26,6 +26,7 @@ BDEPEND="virtual/pkgconfig" PATCHES=( "${FILESDIR}"/${PN}-1.7.1-r2-gentoo.patch + "${FILESDIR}"/${PN}-1.7.1-missing-includes.patch ) src_prepare() { diff --git a/games-arcade/berusky/files/berusky-1.7.1-missing-includes.patch b/games-arcade/berusky/files/berusky-1.7.1-missing-includes.patch new file mode 100644 index 0000000000000..a44d142b73078 --- /dev/null +++ b/games-arcade/berusky/files/berusky-1.7.1-missing-includes.patch @@ -0,0 +1,22 @@ +https://bugs.gentoo.org/890361 +--- a/src/level_game.cpp ++++ b/src/level_game.cpp +@@ -27,6 +27,8 @@ + + #include "portability.h" + ++#include ++#include + #ifdef LINUX + #include + #endif // LINUX +--- a/src/level_game.h ++++ b/src/level_game.h +@@ -28,6 +28,7 @@ + #ifndef __LEVEL_GAME_H__ + #define __LEVEL_GAME_H__ + ++#include + #include + #include "stack.h" +