From 53418e15159cacdd5b07fe1ccda29946858f436b Mon Sep 17 00:00:00 2001 From: Zach Dykstra Date: Thu, 1 May 2025 15:54:39 -0500 Subject: [PATCH] zfs: update to 2.3.2. --- .../zfs/patches/0003-patch-statx-for-musl.patch | 14 ++++++++++++++ srcpkgs/zfs/template | 4 ++-- 2 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/zfs/patches/0003-patch-statx-for-musl.patch diff --git a/srcpkgs/zfs/patches/0003-patch-statx-for-musl.patch b/srcpkgs/zfs/patches/0003-patch-statx-for-musl.patch new file mode 100644 index 00000000000000..b56d8fdd7bbdf8 --- /dev/null +++ b/srcpkgs/zfs/patches/0003-patch-statx-for-musl.patch @@ -0,0 +1,14 @@ +diff --git a/tests/zfs-tests/cmd/statx.c b/tests/zfs-tests/cmd/statx.c +index 89939f6ef..1acc7e58c 100644 +--- a/tests/zfs-tests/cmd/statx.c ++++ b/tests/zfs-tests/cmd/statx.c +@@ -109,6 +109,9 @@ _statx(int fd, const char *path, int flags, unsigned int mask, void *stx) + #ifndef STATX_DIOALIGN + #define STATX_DIOALIGN (1<<13) + #endif ++#ifndef S_IFMT ++#define S_IFMT 0170000 ++#endif + + typedef struct { + int64_t tv_sec; diff --git a/srcpkgs/zfs/template b/srcpkgs/zfs/template index ace0239da409e6..187976ed7f3595 100644 --- a/srcpkgs/zfs/template +++ b/srcpkgs/zfs/template @@ -1,6 +1,6 @@ # Template file for 'zfs' pkgname=zfs -version=2.3.1 +version=2.3.2 revision=1 build_style=gnu-configure configure_args="--with-config=user --with-mounthelperdir=/usr/bin @@ -16,7 +16,7 @@ maintainer="Toyam Cox " license="CDDL-1.0" homepage="https://openzfs.github.io/openzfs-docs/" distfiles="https://github.com/openzfs/zfs/releases/download/zfs-${version}/zfs-${version}.tar.gz" -checksum=053233799386920bdc636e22d0e19a8c2c3e642e8bd847ff87e108f8bb1f9006 +checksum=80da628a9543ec3355bf410617450e167706948ceb287541455a1b8d87b8758a # dkms must be before initramfs-regenerate to build modules before images triggers="dkms initramfs-regenerate" dkms_modules="zfs ${version}"