aboutsummaryrefslogtreecommitdiffstats
path: root/community/nymphcast/gcc12.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/nymphcast/gcc12.patch')
-rw-r--r--community/nymphcast/gcc12.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/community/nymphcast/gcc12.patch b/community/nymphcast/gcc12.patch
new file mode 100644
index 00000000000..ee6f6a73f98
--- /dev/null
+++ b/community/nymphcast/gcc12.patch
@@ -0,0 +1,24 @@
+diff --git a/src/server/gui/core/components/DateTimeComponent.h b/src/server/gui/core/components/DateTimeComponent.h
+index 55d70ca..63058ea 100644
+--- a/src/server/gui/core/components/DateTimeComponent.h
++++ b/src/server/gui/core/components/DateTimeComponent.h
+@@ -2,6 +2,7 @@
+ #ifndef ES_CORE_COMPONENTS_DATE_TIME_COMPONENT_H
+ #define ES_CORE_COMPONENTS_DATE_TIME_COMPONENT_H
+
++#include <ctime>
+ #include "utils/TimeUtil.h"
+ #include "TextComponent.h"
+
+diff --git a/src/server/gui/core/utils/TimeUtil.h b/src/server/gui/core/utils/TimeUtil.h
+index 9b44207..db69ad3 100644
+--- a/src/server/gui/core/utils/TimeUtil.h
++++ b/src/server/gui/core/utils/TimeUtil.h
+@@ -2,6 +2,7 @@
+ #ifndef ES_CORE_UTILS_TIME_UTIL_H
+ #define ES_CORE_UTILS_TIME_UTIL_H
+
++#include <ctime>
+ #include <string>
+
+ namespace Utils