mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 11:37:20 -08:00
games-rpg/manaplus: fix build with GCC 12
Closes: https://bugs.gentoo.org/855212 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
https://bugs.gentoo.org/855212
|
||||
--- 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"
|
||||
|
||||
@@ -55,6 +55,10 @@ DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.9.3.23-gcc12-time.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
|
||||
Reference in New Issue
Block a user