From 0fb3b4acc70849deeee7a7cf07bc111e34be12fc Mon Sep 17 00:00:00 2001 From: Patrick McLean Date: Fri, 12 Aug 2022 13:45:59 -0700 Subject: [PATCH] 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 --- sys-cluster/ceph/ceph-17.2.3.ebuild | 1 + sys-cluster/ceph/files/ceph-17.2.3-gcc12.patch | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 sys-cluster/ceph/files/ceph-17.2.3-gcc12.patch diff --git a/sys-cluster/ceph/ceph-17.2.3.ebuild b/sys-cluster/ceph/ceph-17.2.3.ebuild index 8a67048c3455d..49a8857b5c244 100644 --- a/sys-cluster/ceph/ceph-17.2.3.ebuild +++ b/sys-cluster/ceph/ceph-17.2.3.ebuild @@ -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() { diff --git a/sys-cluster/ceph/files/ceph-17.2.3-gcc12.patch b/sys-cluster/ceph/files/ceph-17.2.3-gcc12.patch new file mode 100644 index 0000000000000..e5e77b4116f6c --- /dev/null +++ b/sys-cluster/ceph/files/ceph-17.2.3-gcc12.patch @@ -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 + + #define CEPH_BUFFER_API +