1 |
commit: 07b7466e378c823a3013faf0c72c0df22362199a |
2 |
Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at> |
3 |
AuthorDate: Fri Oct 1 15:50:07 2021 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 8 21:51:01 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07b7466e |
7 |
|
8 |
dev-db/percona-xtrabackup: remove unused patches |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/22459 |
11 |
Package-Manager: Portage-3.0.23, Repoman-3.0.3 |
12 |
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at> |
13 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
14 |
|
15 |
.../percona-xtrabackup-8.0.13-remove-rpm.patch | 32 ----------------- |
16 |
...backup-8.0.22-fix-building-against-ICU-68.patch | 28 --------------- |
17 |
.../percona-xtrabackup-8.0.22-remove-rpm.patch | 31 ---------------- |
18 |
.../files/percona-xtrabackup-8.0.23-gcc11.patch | 41 ---------------------- |
19 |
4 files changed, 132 deletions(-) |
20 |
|
21 |
diff --git a/dev-db/percona-xtrabackup/files/percona-xtrabackup-8.0.13-remove-rpm.patch b/dev-db/percona-xtrabackup/files/percona-xtrabackup-8.0.13-remove-rpm.patch |
22 |
deleted file mode 100644 |
23 |
index 759598637a8..00000000000 |
24 |
--- a/dev-db/percona-xtrabackup/files/percona-xtrabackup-8.0.13-remove-rpm.patch |
25 |
+++ /dev/null |
26 |
@@ -1,32 +0,0 @@ |
27 |
-diff --git a/CMakeLists.txt b/CMakeLists.txt |
28 |
-index 1b9865e2..e3c82cdd 100644 |
29 |
---- a/CMakeLists.txt |
30 |
-+++ b/CMakeLists.txt |
31 |
-@@ -181,27 +181,6 @@ ENDIF() |
32 |
- OPTION(FORCE_UNSUPPORTED_COMPILER "Disable compiler version checks" OFF) |
33 |
- MARK_AS_ADVANCED(WITHOUT_SERVER FORCE_UNSUPPORTED_COMPILER) |
34 |
- |
35 |
--# Use 'uname -r' and 'rpm -qf /' to figure out host system. |
36 |
--# For Docker images we cannot trust uname, so use rpm instead. |
37 |
--IF(UNIX) |
38 |
-- FIND_PROGRAM(MY_UNAME uname /bin /usr/bin /usr/local/bin /sbin) |
39 |
-- IF(MY_UNAME) |
40 |
-- EXECUTE_PROCESS(COMMAND ${MY_UNAME} -s |
41 |
-- OUTPUT_VARIABLE MY_HOST_SYSTEM_NAME |
42 |
-- OUTPUT_STRIP_TRAILING_WHITESPACE |
43 |
-- RESULT_VARIABLE MY_UNAME_RESULT |
44 |
-- ) |
45 |
-- ENDIF() |
46 |
-- FIND_PROGRAM(MY_RPM rpm /bin /usr/bin) |
47 |
-- IF(MY_RPM) |
48 |
-- EXECUTE_PROCESS(COMMAND ${MY_RPM} -qf / |
49 |
-- OUTPUT_VARIABLE MY_HOST_FILESYSTEM_NAME |
50 |
-- OUTPUT_STRIP_TRAILING_WHITESPACE |
51 |
-- RESULT_VARIABLE MY_RPM_RESULT |
52 |
-- ) |
53 |
-- ENDIF() |
54 |
--ENDIF() |
55 |
-- |
56 |
- IF(CMAKE_HOST_UNIX AND NOT FORCE_UNSUPPORTED_COMPILER |
57 |
- AND NOT CMAKE_C_COMPILER AND NOT CMAKE_CXX_COMPILER) |
58 |
- # Cannot INCLUDE(CMakeDetermineSystem) prior to PROJECT initialization below. |
59 |
|
60 |
diff --git a/dev-db/percona-xtrabackup/files/percona-xtrabackup-8.0.22-fix-building-against-ICU-68.patch b/dev-db/percona-xtrabackup/files/percona-xtrabackup-8.0.22-fix-building-against-ICU-68.patch |
61 |
deleted file mode 100644 |
62 |
index b3e1662a0cf..00000000000 |
63 |
--- a/dev-db/percona-xtrabackup/files/percona-xtrabackup-8.0.22-fix-building-against-ICU-68.patch |
64 |
+++ /dev/null |
65 |
@@ -1,28 +0,0 @@ |
66 |
-From 16048ed60bef16d4bf1e361a59e7899845b9426a Mon Sep 17 00:00:00 2001 |
67 |
-From: Thomas Deutschmann <whissi@g.o> |
68 |
-Date: Sun, 20 Dec 2020 21:47:33 +0100 |
69 |
-Subject: [PATCH 10/10] Fix building against >=ICU-68 |
70 |
- |
71 |
-Link: https://github.com/unicode-org/icu/commit/a18df7ba2834afc2b577a1d5a7d906868ade6fa9 |
72 |
-Bug: https://bugs.gentoo.org/759070 |
73 |
-Signed-off-by: Thomas Deutschmann <whissi@g.o> |
74 |
---- |
75 |
- sql/mysqld.cc | 2 +- |
76 |
- 1 file changed, 1 insertion(+), 1 deletion(-) |
77 |
- |
78 |
-diff --git a/sql/mysqld.cc b/sql/mysqld.cc |
79 |
-index c400e5584..5d2ebfaea 100644 |
80 |
---- a/sql/mysqld.cc |
81 |
-+++ b/sql/mysqld.cc |
82 |
-@@ -7323,7 +7323,7 @@ int mysqld_main(int argc, char **argv) |
83 |
- if (opt_keyring_migration_source || opt_keyring_migration_destination || |
84 |
- migrate_connect_options) { |
85 |
- Migrate_keyring mk; |
86 |
-- my_getopt_skip_unknown = TRUE; |
87 |
-+ my_getopt_skip_unknown = true; |
88 |
- if (mk.init(remaining_argc, remaining_argv, opt_keyring_migration_source, |
89 |
- opt_keyring_migration_destination, opt_keyring_migration_user, |
90 |
- opt_keyring_migration_host, opt_keyring_migration_password, |
91 |
--- |
92 |
-2.29.2 |
93 |
- |
94 |
|
95 |
diff --git a/dev-db/percona-xtrabackup/files/percona-xtrabackup-8.0.22-remove-rpm.patch b/dev-db/percona-xtrabackup/files/percona-xtrabackup-8.0.22-remove-rpm.patch |
96 |
deleted file mode 100644 |
97 |
index 91f67c43716..00000000000 |
98 |
--- a/dev-db/percona-xtrabackup/files/percona-xtrabackup-8.0.22-remove-rpm.patch |
99 |
+++ /dev/null |
100 |
@@ -1,31 +0,0 @@ |
101 |
---- a/CMakeLists.txt |
102 |
-+++ b/CMakeLists.txt |
103 |
-@@ -222,28 +222,6 @@ ENDIF() |
104 |
- OPTION(FORCE_UNSUPPORTED_COMPILER "Disable compiler version checks" OFF) |
105 |
- MARK_AS_ADVANCED(WITHOUT_SERVER FORCE_UNSUPPORTED_COMPILER) |
106 |
- |
107 |
--# Use 'uname -r' and 'rpm -qf /' to figure out host system. |
108 |
--# For Docker images we cannot trust uname, so use rpm instead. |
109 |
--IF(UNIX) |
110 |
-- FIND_PROGRAM(MY_UNAME uname /bin /usr/bin /usr/local/bin /sbin) |
111 |
-- IF(MY_UNAME) |
112 |
-- EXECUTE_PROCESS(COMMAND ${MY_UNAME} -s |
113 |
-- OUTPUT_VARIABLE MY_HOST_SYSTEM_NAME |
114 |
-- OUTPUT_STRIP_TRAILING_WHITESPACE |
115 |
-- RESULT_VARIABLE MY_UNAME_RESULT |
116 |
-- ) |
117 |
-- EXEC_PROGRAM(${MY_UNAME} ARGS -r OUTPUT_VARIABLE MY_HOST_SYSTEM_VERSION) |
118 |
-- ENDIF() |
119 |
-- FIND_PROGRAM(MY_RPM rpm /bin /usr/bin) |
120 |
-- IF(MY_RPM) |
121 |
-- EXECUTE_PROCESS(COMMAND ${MY_RPM} -qf / |
122 |
-- OUTPUT_VARIABLE MY_HOST_FILESYSTEM_NAME |
123 |
-- OUTPUT_STRIP_TRAILING_WHITESPACE |
124 |
-- RESULT_VARIABLE MY_RPM_RESULT |
125 |
-- ) |
126 |
-- ENDIF() |
127 |
--ENDIF() |
128 |
-- |
129 |
- # See comments above, about CMAKE_MINIMUM_REQUIRED VERSION and macOS 11. |
130 |
- IF(APPLE) |
131 |
- IF(MY_HOST_SYSTEM_VERSION VERSION_GREATER_EQUAL 20) |
132 |
|
133 |
diff --git a/dev-db/percona-xtrabackup/files/percona-xtrabackup-8.0.23-gcc11.patch b/dev-db/percona-xtrabackup/files/percona-xtrabackup-8.0.23-gcc11.patch |
134 |
deleted file mode 100644 |
135 |
index 83aa6ab78a5..00000000000 |
136 |
--- a/dev-db/percona-xtrabackup/files/percona-xtrabackup-8.0.23-gcc11.patch |
137 |
+++ /dev/null |
138 |
@@ -1,41 +0,0 @@ |
139 |
---- a/extra/robin-hood-hashing/robin_hood.h |
140 |
-+++ b/extra/robin-hood-hashing/robin_hood.h |
141 |
-@@ -42,6 +42,7 @@ |
142 |
- #include <algorithm> |
143 |
- #include <cstdlib> |
144 |
- #include <cstring> |
145 |
-+#include <limits> |
146 |
- #include <functional> |
147 |
- #include <memory> // only to support hash of smart pointers |
148 |
- #include <stdexcept> |
149 |
---- a/include/my_alloc.h |
150 |
-+++ b/include/my_alloc.h |
151 |
-@@ -32,6 +32,7 @@ |
152 |
- |
153 |
- #include <string.h> |
154 |
- |
155 |
-+#include <cstdint> |
156 |
- #include <memory> |
157 |
- #include <new> |
158 |
- #include <type_traits> |
159 |
---- a/include/mysql/components/services/page_track_service.h |
160 |
-+++ b/include/mysql/components/services/page_track_service.h |
161 |
-@@ -27,6 +27,7 @@ |
162 |
- #include <mysql/components/service.h> |
163 |
- #include <functional> |
164 |
- |
165 |
-+#include <stddef.h> |
166 |
- #include <stdint.h> |
167 |
- |
168 |
- #ifdef __cplusplus |
169 |
---- a/sql-common/sql_string.cc |
170 |
-+++ b/sql-common/sql_string.cc |
171 |
-@@ -23,6 +23,7 @@ |
172 |
- #include "sql_string.h" |
173 |
- |
174 |
- #include <algorithm> |
175 |
-+#include <limits> |
176 |
- |
177 |
- #include "my_dbug.h" |
178 |
- #include "my_macros.h" |
179 |
- |