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 +