From 7737eef2ac7a76abae69596d776267a372aa550a Mon Sep 17 00:00:00 2001 From: Zach Dykstra Date: Thu, 22 Feb 2024 16:38:32 -0600 Subject: [PATCH] zfs: update to 2.2.3. --- .../zfs/patches/0002-fix-seektest-musl.patch | 30 +++++++++++++++++++ srcpkgs/zfs/template | 4 +-- 2 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/zfs/patches/0002-fix-seektest-musl.patch diff --git a/srcpkgs/zfs/patches/0002-fix-seektest-musl.patch b/srcpkgs/zfs/patches/0002-fix-seektest-musl.patch new file mode 100644 index 0000000000000..805a7a570c9ae --- /dev/null +++ b/srcpkgs/zfs/patches/0002-fix-seektest-musl.patch @@ -0,0 +1,30 @@ +From 4c2cd2ce45caf8374733fb97643f2f0060cacec2 Mon Sep 17 00:00:00 2001 +From: Zach Dykstra +Date: Thu, 22 Feb 2024 16:31:02 -0600 +Subject: [PATCH] zfs-tests: fix seekflood.c on MUSL + +--- + tests/zfs-tests/tests/functional/cp_files/seekflood.c | 9 +++++++++ + 1 file changed, 9 insertions(+) + +diff --git a/tests/zfs-tests/tests/functional/cp_files/seekflood.c b/tests/zfs-tests/tests/functional/cp_files/seekflood.c +index 02c2c8e6e..d3116d9fd 100644 +--- a/tests/zfs-tests/tests/functional/cp_files/seekflood.c ++++ b/tests/zfs-tests/tests/functional/cp_files/seekflood.c +@@ -27,6 +27,15 @@ + #define _GNU_SOURCE + #endif + ++#ifndef SEEK_DATA ++#define SEEK_DATA 3 ++#endif ++ ++#ifndef SEEK_HOLE ++#define SEEK_HOLE 4 ++#endif ++ + #include + #include + #include +-- +2.43.2 diff --git a/srcpkgs/zfs/template b/srcpkgs/zfs/template index 62671dd2396f6..9c3186717bdc7 100644 --- a/srcpkgs/zfs/template +++ b/srcpkgs/zfs/template @@ -1,6 +1,6 @@ # Template file for 'zfs' pkgname=zfs -version=2.2.2 +version=2.2.3 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=76bc0547d9ba31d4b0142e417aaaf9f969072c3cb3c1a5b10c8738f39ed12fc9 +checksum=30a512f34ec5c841b8b2b32cc9c1a03fd49391b26c9164d3fb30573fb5d81ac3 # dkms must be before initramfs-regenerate to build modules before images triggers="dkms initramfs-regenerate" dkms_modules="zfs ${version}"