summaryrefslogtreecommitdiff
path: root/games-rpg/manaplus/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-07-09 15:43:36 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-07-09 15:43:36 +0100
commit2719f73b6813d11d13a9650cdd2ab8ec6e69385d (patch)
tree8c816148bcbd22757d892089c989ae614eae4f5a /games-rpg/manaplus/files
parent0f558761aa2dee1017b4751e4017205e015a9560 (diff)
gentoo resync : 09.07.2022
Diffstat (limited to 'games-rpg/manaplus/files')
-rw-r--r--games-rpg/manaplus/files/manaplus-1.9.3.23-gcc12-time.patch26
1 files changed, 26 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
new file mode 100644
index 000000000000..f8f4030f0b6a
--- /dev/null
+++ b/games-rpg/manaplus/files/manaplus-1.9.3.23-gcc12-time.patch
@@ -0,0 +1,26 @@
+https://bugs.gentoo.org/855212
+https://bugs.gentoo.org/855455
+--- a/src/resources/wallpaper.cpp
++++ b/src/resources/wallpaper.cpp
+@@ -38,9 +38,7 @@
+ #include <sys/time.h>
+ #endif // WIN32
+
+-#ifdef __clang__
+ #include <ctime>
+-#endif // __clang__
+
+ #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