forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
games-arcade/berusky: fix build w/ gcc 12
Closes: https://bugs.gentoo.org/890361 Signed-off-by: Sam James <[email protected]>
- Loading branch information
1 parent
804e4d5
commit a9e380d
Showing
2 changed files
with
24 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
games-arcade/berusky/files/berusky-1.7.1-missing-includes.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 <cassert> | ||
+#include <cstddef> | ||
#ifdef LINUX | ||
#include <endian.h> | ||
#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 <cassert> | ||
#include <time.h> | ||
#include "stack.h" | ||
|