1 |
commit: 9bcc6846b5c5847023672c6020f6681ef516ce5d |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jul 1 10:02:16 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 1 10:02:23 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bcc6846 |
7 |
|
8 |
games-rpg/manaplus: fix build with GCC 12 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/855455 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
games-rpg/manaplus/files/manaplus-1.9.3.23-gcc12-time.patch | 13 +++++++++++++ |
14 |
1 file changed, 13 insertions(+) |
15 |
|
16 |
diff --git a/games-rpg/manaplus/files/manaplus-1.9.3.23-gcc12-time.patch b/games-rpg/manaplus/files/manaplus-1.9.3.23-gcc12-time.patch |
17 |
index 5ded1f0fa9d5..f8f4030f0b6a 100644 |
18 |
--- a/games-rpg/manaplus/files/manaplus-1.9.3.23-gcc12-time.patch |
19 |
+++ b/games-rpg/manaplus/files/manaplus-1.9.3.23-gcc12-time.patch |
20 |
@@ -1,4 +1,5 @@ |
21 |
https://bugs.gentoo.org/855212 |
22 |
+https://bugs.gentoo.org/855455 |
23 |
--- a/src/resources/wallpaper.cpp |
24 |
+++ b/src/resources/wallpaper.cpp |
25 |
@@ -38,9 +38,7 @@ |
26 |
@@ -11,3 +12,15 @@ https://bugs.gentoo.org/855212 |
27 |
|
28 |
#include "debug.h" |
29 |
|
30 |
+--- a/src/progs/dyecmd/client.cpp |
31 |
++++ b/src/progs/dyecmd/client.cpp |
32 |
+@@ -87,9 +87,7 @@ PRAGMA48(GCC diagnostic pop) |
33 |
+ #undef ERROR |
34 |
+ #endif // WIN32 |
35 |
+ |
36 |
+-#ifdef __clang__ |
37 |
+ #include <ctime> |
38 |
+-#endif // __clang__ |
39 |
+ |
40 |
+ #ifdef ANDROID |
41 |
+ #ifndef USE_SDL2 |