summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-db/mysql/files/mysql-8.0.27-gcc12.patch')
-rw-r--r--dev-db/mysql/files/mysql-8.0.27-gcc12.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-db/mysql/files/mysql-8.0.27-gcc12.patch b/dev-db/mysql/files/mysql-8.0.27-gcc12.patch
new file mode 100644
index 00000000000..f4ecb59273a
--- /dev/null
+++ b/dev-db/mysql/files/mysql-8.0.27-gcc12.patch
@@ -0,0 +1,33 @@
+https://bugs.gentoo.org/840990
+https://bugs.gentoo.org/852737
+--- a/client/logger.cc
++++ b/client/logger.cc
+@@ -27,6 +27,7 @@
+ #include <time.h>
+ #include <iostream>
+ #include <locale>
++#include <memory>
+
+ using namespace std;
+
+--- a/components/keyrings/common/component_helpers/src/keyring_log_builtins_definition.cc
++++ b/components/keyrings/common/component_helpers/src/keyring_log_builtins_definition.cc
+@@ -25,6 +25,7 @@
+ #include <cstring>
+ #include <iostream>
+ #include <locale>
++#include <memory>
+ #include <sstream>
+
+ #include <m_string.h>
+
+--- a/router/src/harness/include/mysql/harness/net_ts/executor.h
++++ b/router/src/harness/include/mysql/harness/net_ts/executor.h
+@@ -35,6 +35,7 @@
+ #include <stdexcept> // logic_error
+ #include <thread>
+ #include <type_traits> // decay_t, enable_if
++#include <utility>
+ #include <unordered_map>
+
+ #include "my_compiler.h"