diff options
author | Michael Mair-Keimberger <mmk@levelnine.at> | 2022-09-28 18:52:37 +0200 |
---|---|---|
committer | Patrick McLean <chutzpah@gentoo.org> | 2022-09-29 11:33:48 -0700 |
commit | 384b7f3eb1f4887f20999750642cf9c9c465c390 (patch) | |
tree | 57b849da1776cd420a128d6241b0d10bd60105da /sys-cluster/ceph | |
parent | app-admin/awscli: add 1.25.83 (diff) | |
download | gentoo-384b7f3eb1f4887f20999750642cf9c9c465c390.tar.gz gentoo-384b7f3eb1f4887f20999750642cf9c9c465c390.tar.bz2 gentoo-384b7f3eb1f4887f20999750642cf9c9c465c390.zip |
sys-cluster/ceph: remove unused patch
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Portage 3.0.37 / pkgdev 0.2.2 / pkgcheck 0.10.15
Closes: https://github.com/gentoo/gentoo/pull/27515
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'sys-cluster/ceph')
-rw-r--r-- | sys-cluster/ceph/files/ceph-16.2.10-gcc12.patch | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/sys-cluster/ceph/files/ceph-16.2.10-gcc12.patch b/sys-cluster/ceph/files/ceph-16.2.10-gcc12.patch deleted file mode 100644 index 79bc5d41f410..000000000000 --- a/sys-cluster/ceph/files/ceph-16.2.10-gcc12.patch +++ /dev/null @@ -1,45 +0,0 @@ -diff --git a/src/include/buffer.h b/src/include/buffer.h -index 7c8f90e9fb5d3..71cb01935000b 100644 ---- a/src/include/buffer.h -+++ b/src/include/buffer.h -@@ -41,6 +41,7 @@ - #include <iosfwd> - #include <iomanip> - #include <list> -+#include <memory> - #include <vector> - #include <string> - #if __cplusplus >= 201703L - -diff --git a/src/rgw/rgw_string.h b/src/rgw/rgw_string.h -index 257daa9c1fe6e..90e64f98a2587 100644 ---- a/src/rgw/rgw_string.h -+++ b/src/rgw/rgw_string.h -@@ -8,6 +8,8 @@ - #include <stdlib.h> - #include <limits.h> - #include <string_view> -+#include <string> -+#include <stdexcept> - - #include <boost/container/small_vector.hpp> - - -diff --git a/src/test/encoding.cc b/src/test/encoding.cc -index 6d252fae18b71..f18901cbd27d9 100644 ---- a/src/test/encoding.cc -+++ b/src/test/encoding.cc -@@ -334,11 +334,11 @@ void lame_decoder(int which) { - } - - TEST(EncodingException, Macros) { -- for (unsigned i = 0; i < sizeof(expected_what)/sizeof(expected_what[0]); i++) { -+ for (unsigned i = 0; i < std::size(expected_what); i++) { - try { - lame_decoder(i); - } catch (const exception& e) { -- ASSERT_EQ(string(expected_what[i]), string(e.what())); -+ ASSERT_NE(string(e.what()).find(expected_what[i]), string::npos); - } - } - } |