Gentoo Archives: gentoo-commits

From: Patrick McLean <chutzpah@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/ceph/files/
Date: Thu, 29 Sep 2022 18:34:10
Message-Id: 1664476428.384b7f3eb1f4887f20999750642cf9c9c465c390.chutzpah@gentoo
1 commit: 384b7f3eb1f4887f20999750642cf9c9c465c390
2 Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
3 AuthorDate: Wed Sep 28 16:52:37 2022 +0000
4 Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 29 18:33:48 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=384b7f3e
7
8 sys-cluster/ceph: remove unused patch
9
10 Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
11 Portage 3.0.37 / pkgdev 0.2.2 / pkgcheck 0.10.15
12 Closes: https://github.com/gentoo/gentoo/pull/27515
13 Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
14
15 sys-cluster/ceph/files/ceph-16.2.10-gcc12.patch | 45 -------------------------
16 1 file changed, 45 deletions(-)
17
18 diff --git a/sys-cluster/ceph/files/ceph-16.2.10-gcc12.patch b/sys-cluster/ceph/files/ceph-16.2.10-gcc12.patch
19 deleted file mode 100644
20 index 79bc5d41f410..000000000000
21 --- a/sys-cluster/ceph/files/ceph-16.2.10-gcc12.patch
22 +++ /dev/null
23 @@ -1,45 +0,0 @@
24 -diff --git a/src/include/buffer.h b/src/include/buffer.h
25 -index 7c8f90e9fb5d3..71cb01935000b 100644
26 ---- a/src/include/buffer.h
27 -+++ b/src/include/buffer.h
28 -@@ -41,6 +41,7 @@
29 - #include <iosfwd>
30 - #include <iomanip>
31 - #include <list>
32 -+#include <memory>
33 - #include <vector>
34 - #include <string>
35 - #if __cplusplus >= 201703L
36 -
37 -diff --git a/src/rgw/rgw_string.h b/src/rgw/rgw_string.h
38 -index 257daa9c1fe6e..90e64f98a2587 100644
39 ---- a/src/rgw/rgw_string.h
40 -+++ b/src/rgw/rgw_string.h
41 -@@ -8,6 +8,8 @@
42 - #include <stdlib.h>
43 - #include <limits.h>
44 - #include <string_view>
45 -+#include <string>
46 -+#include <stdexcept>
47 -
48 - #include <boost/container/small_vector.hpp>
49 -
50 -
51 -diff --git a/src/test/encoding.cc b/src/test/encoding.cc
52 -index 6d252fae18b71..f18901cbd27d9 100644
53 ---- a/src/test/encoding.cc
54 -+++ b/src/test/encoding.cc
55 -@@ -334,11 +334,11 @@ void lame_decoder(int which) {
56 - }
57 -
58 - TEST(EncodingException, Macros) {
59 -- for (unsigned i = 0; i < sizeof(expected_what)/sizeof(expected_what[0]); i++) {
60 -+ for (unsigned i = 0; i < std::size(expected_what); i++) {
61 - try {
62 - lame_decoder(i);
63 - } catch (const exception& e) {
64 -- ASSERT_EQ(string(expected_what[i]), string(e.what()));
65 -+ ASSERT_NE(string(e.what()).find(expected_what[i]), string::npos);
66 - }
67 - }
68 - }