From 024b5fd32265ce82ec009b1492b38e3e75c748a3 Mon Sep 17 00:00:00 2001 From: Jaco Kroon Date: Sat, 6 Dec 2025 14:31:38 +0200 Subject: [PATCH] sys-cluster/glusterfs: 11.2 missing sys/types.h Closes: https://bugs.gentoo.org/908588 Signed-off-by: Jaco Kroon --- ...usterfs-11.2-sys-types.h-for-off64_t.patch | 27 +++++++++++++++++++ sys-cluster/glusterfs/glusterfs-11.2.ebuild | 1 + 2 files changed, 28 insertions(+) create mode 100644 sys-cluster/glusterfs/files/glusterfs-11.2-sys-types.h-for-off64_t.patch diff --git a/sys-cluster/glusterfs/files/glusterfs-11.2-sys-types.h-for-off64_t.patch b/sys-cluster/glusterfs/files/glusterfs-11.2-sys-types.h-for-off64_t.patch new file mode 100644 index 000000000000..521c363265a8 --- /dev/null +++ b/sys-cluster/glusterfs/files/glusterfs-11.2-sys-types.h-for-off64_t.patch @@ -0,0 +1,27 @@ +From cba66efc2b062baa953bd91229eee4b2aa2294d1 Mon Sep 17 00:00:00 2001 +From: Jaco Kroon +Date: Fri, 22 Sep 2023 10:47:28 +0200 +Subject: [PATCH] Include sys/types.h for off64_t. (#4215) + +Reference: https://bugs.gentoo.org/908588 + +As per off64_t(3) we need to include sys/types.h. +--- + libglusterfs/src/glusterfs/syscall.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/libglusterfs/src/glusterfs/syscall.h b/libglusterfs/src/glusterfs/syscall.h +index 4f1bfdc83c..f6c904df38 100644 +--- a/libglusterfs/src/glusterfs/syscall.h ++++ b/libglusterfs/src/glusterfs/syscall.h +@@ -17,6 +17,7 @@ + #include + #include + #include ++#include + #include + + /* GF follows the Linux XATTR definition, which differs in Darwin. */ +-- +2.51.2 + diff --git a/sys-cluster/glusterfs/glusterfs-11.2.ebuild b/sys-cluster/glusterfs/glusterfs-11.2.ebuild index 1ca71d1308dc..d14f3eb876cb 100644 --- a/sys-cluster/glusterfs/glusterfs-11.2.ebuild +++ b/sys-cluster/glusterfs/glusterfs-11.2.ebuild @@ -26,6 +26,7 @@ RESTRICT="test" PATCHES=( "${FILESDIR}/${PN}-11.0-extras-defer-invoking-of-gluster-volume-set-help-as-.patch" + "${FILESDIR}/${PN}-11.2-sys-types.h-for-off64_t.patch" ) # sys-apps/util-linux is required for libuuid