1 |
commit: 5a76bbcc1f10e8b9d5647155984b4aac029ef6ce |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jun 30 21:22:45 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 30 21:32:30 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a76bbcc |
7 |
|
8 |
dev-db/percona-server: fix build with GCC 12 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/855170 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
.../files/percona-server-8.0.26.16-gcc-12.patch | 13 +++++++++++++ |
14 |
1 file changed, 13 insertions(+) |
15 |
|
16 |
diff --git a/dev-db/percona-server/files/percona-server-8.0.26.16-gcc-12.patch b/dev-db/percona-server/files/percona-server-8.0.26.16-gcc-12.patch |
17 |
index 1780d7e478f5..d465e94effed 100644 |
18 |
--- a/dev-db/percona-server/files/percona-server-8.0.26.16-gcc-12.patch |
19 |
+++ b/dev-db/percona-server/files/percona-server-8.0.26.16-gcc-12.patch |
20 |
@@ -1,5 +1,6 @@ |
21 |
https://bugs.gentoo.org/842168 |
22 |
https://bugs.gentoo.org/853085 |
23 |
+https://bugs.gentoo.org/855170 |
24 |
--- a/client/logger.cc |
25 |
+++ b/client/logger.cc |
26 |
@@ -27,6 +27,7 @@ |
27 |
@@ -30,3 +31,15 @@ https://bugs.gentoo.org/853085 |
28 |
#include <regex> |
29 |
|
30 |
#include "plugin/auth_ldap/include/plugin_log.h" |
31 |
+diff --git a/router/src/harness/include/mysql/harness/net_ts/executor.h b/router/src/harness/include/mysql/harness/net_ts/executor.h |
32 |
+index 5cf514b..ec61168 100644 |
33 |
+--- a/router/src/harness/include/mysql/harness/net_ts/executor.h |
34 |
++++ b/router/src/harness/include/mysql/harness/net_ts/executor.h |
35 |
+@@ -36,6 +36,7 @@ |
36 |
+ #include <thread> |
37 |
+ #include <type_traits> // decay_t, enable_if |
38 |
+ #include <unordered_map> |
39 |
++#include <utility> |
40 |
+ |
41 |
+ #include "mysql/harness/net_ts/netfwd.h" |
42 |
+ #include "mysql/harness/stdx/type_traits.h" // conjunction, void_t |