diff options
author | Sam James <sam@gentoo.org> | 2022-07-01 10:02:16 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-07-01 10:02:23 +0000 |
commit | 9bcc6846b5c5847023672c6020f6681ef516ce5d (patch) | |
tree | c4a7b6363506186875c3024068b77b1a5c445dbb /games-rpg/manaplus | |
parent | www-apps/mediawiki: security bump to 1.37.3 (diff) | |
download | gentoo-9bcc6846b5c5847023672c6020f6681ef516ce5d.tar.gz gentoo-9bcc6846b5c5847023672c6020f6681ef516ce5d.tar.bz2 gentoo-9bcc6846b5c5847023672c6020f6681ef516ce5d.zip |
games-rpg/manaplus: fix build with GCC 12
Closes: https://bugs.gentoo.org/855455
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-rpg/manaplus')
-rw-r--r-- | games-rpg/manaplus/files/manaplus-1.9.3.23-gcc12-time.patch | 13 |
1 files changed, 13 insertions, 0 deletions
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 index 5ded1f0fa9d5..f8f4030f0b6a 100644 --- 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 @@ -1,4 +1,5 @@ https://bugs.gentoo.org/855212 +https://bugs.gentoo.org/855455 --- a/src/resources/wallpaper.cpp +++ b/src/resources/wallpaper.cpp @@ -38,9 +38,7 @@ @@ -11,3 +12,15 @@ https://bugs.gentoo.org/855212 #include "debug.h" +--- a/src/progs/dyecmd/client.cpp ++++ b/src/progs/dyecmd/client.cpp +@@ -87,9 +87,7 @@ PRAGMA48(GCC diagnostic pop) + #undef ERROR + #endif // WIN32 + +-#ifdef __clang__ + #include <ctime> +-#endif // __clang__ + + #ifdef ANDROID + #ifndef USE_SDL2 |