summaryrefslogtreecommitdiff
path: root/pkg/zfs/patch/0005-Use-forward-declaration-instead-of-empty-struct.patch
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2024-03-22 19:22:27 -0700
committerMichael Forney <mforney@mforney.org>2024-03-23 11:07:33 -0700
commit63394a17ae622bb0ed40c0d319cf55b02bc9c752 (patch)
treea951958fb78929c7e9b232a0eba1604f267eb752 /pkg/zfs/patch/0005-Use-forward-declaration-instead-of-empty-struct.patch
parentbdcd34d1f1beabbc7cf9063eee2121e11f9d1366 (diff)
zfs: Update to 2.2.3
zstream decompress and recompress are patched out for now.
Diffstat (limited to 'pkg/zfs/patch/0005-Use-forward-declaration-instead-of-empty-struct.patch')
-rw-r--r--pkg/zfs/patch/0005-Use-forward-declaration-instead-of-empty-struct.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkg/zfs/patch/0005-Use-forward-declaration-instead-of-empty-struct.patch b/pkg/zfs/patch/0005-Use-forward-declaration-instead-of-empty-struct.patch
new file mode 100644
index 00000000..723cbb18
--- /dev/null
+++ b/pkg/zfs/patch/0005-Use-forward-declaration-instead-of-empty-struct.patch
@@ -0,0 +1,25 @@
+From 1c52610d16cd241e61c74ab7588edfdf00b945c3 Mon Sep 17 00:00:00 2001
+From: Michael Forney <mforney@mforney.org>
+Date: Sat, 21 Jan 2023 17:15:47 -0800
+Subject: [PATCH] Use forward declaration instead of empty struct
+
+---
+ include/sys/zfs_context.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/include/sys/zfs_context.h b/include/sys/zfs_context.h
+index 750ca612b..7c8cf33ca 100644
+--- a/include/sys/zfs_context.h
++++ b/include/sys/zfs_context.h
+@@ -383,7 +383,7 @@ typedef struct procfs_list {
+ } procfs_list_t;
+
+ #ifndef __cplusplus
+-struct seq_file { };
++struct seq_file;
+ void seq_printf(struct seq_file *m, const char *fmt, ...);
+
+ typedef struct procfs_list_node {
+--
+2.37.3
+