sys-cluster/ceph: Add patch to attempt to fix bug #854681

I am unable to reproduce this bug, but this patch should theoretically fix it.
Please reopen the bug if the issue still exists.

Closes: https://bugs.gentoo.org/854681
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
This commit is contained in:
Patrick McLean
2022-08-12 13:46:44 -07:00
parent cfa4333f5a
commit 0fb3b4acc7
2 changed files with 13 additions and 0 deletions
+1
View File
@@ -216,6 +216,7 @@ PATCHES=(
"${FILESDIR}/ceph-17.2.0-fuse3.patch"
"${FILESDIR}/ceph-17.2.0-osd_class_dir.patch"
"${FILESDIR}/ceph-17.2.1-python310.patch"
"${FILESDIR}/ceph-17.2.3-gcc12.patch"
)
check-reqs_export_vars() {
@@ -0,0 +1,12 @@
diff --git a/src/include/buffer.h b/src/include/buffer.h
index 0c89367dd3b..98fcd7c3e08 100644
--- a/src/include/buffer.h
+++ b/src/include/buffer.h
@@ -62,6 +62,7 @@
#endif
#include "inline_memory.h"
+#include <memory>
#define CEPH_BUFFER_API