zfs: update to 2.2.3.

This commit is contained in:
Zach Dykstra 2024-02-22 16:38:32 -06:00 committed by Toyam Cox
parent ced9aebee1
commit b9b44d6077
2 changed files with 32 additions and 2 deletions

View file

@ -0,0 +1,30 @@
From 4c2cd2ce45caf8374733fb97643f2f0060cacec2 Mon Sep 17 00:00:00 2001
From: Zach Dykstra <dykstra.zachary@gmail.com>
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,14 @@
#define _GNU_SOURCE
#endif
+#ifndef SEEK_DATA
+#define SEEK_DATA 3
+#endif
+
+#ifndef SEEK_HOLE
+#define SEEK_HOLE 4
+#endif
+
#include <fcntl.h>
#include <unistd.h>
#include <stdio.h>
--
2.43.2

View file

@ -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 <Vaelatern@voidlinux.org>"
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}"