summaryrefslogtreecommitdiff
path: root/filesystems/fuse-wdfs/patches
diff options
context:
space:
mode:
authorpho <pho@pkgsrc.org>2022-01-27 03:58:34 +0000
committerpho <pho@pkgsrc.org>2022-01-27 03:58:34 +0000
commitebeaae61d92993c2b51b3f0a1f04ac2e5792d7f7 (patch)
tree16e739f16a7d63b74705ce0bf679825515e00978 /filesystems/fuse-wdfs/patches
parentd9e50bd8cfbc98e96b8c8b1751136821054cde5b (diff)
downloadpkgsrc-ebeaae61d92993c2b51b3f0a1f04ac2e5792d7f7.tar.gz
Fix build on NetBSD 9
Diffstat (limited to 'filesystems/fuse-wdfs/patches')
-rw-r--r--filesystems/fuse-wdfs/patches/patch-aa11
1 files changed, 10 insertions, 1 deletions
diff --git a/filesystems/fuse-wdfs/patches/patch-aa b/filesystems/fuse-wdfs/patches/patch-aa
index 7da804a87f0..d48b5c8eea9 100644
--- a/filesystems/fuse-wdfs/patches/patch-aa
+++ b/filesystems/fuse-wdfs/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.4 2022/01/22 18:50:23 pho Exp $
+$NetBSD: patch-aa,v 1.5 2022/01/27 04:15:44 pho Exp $
refuse(3) used to not support -ho in option_list. Already fixed in
HEAD.
@@ -20,3 +20,12 @@ HEAD.
exit(1);
case KEY_VERSION:
+@@ -1308,7 +1314,7 @@ static void print_help()
+ /* just a simple wrapper for fuse_main(), because the interface changed... */
+ static int call_fuse_main(struct fuse_args *args)
+ {
+-#if FUSE_VERSION >= 26
++#if (!defined(__NetBSD__) || FUSE_H_ >= 20211204) && FUSE_VERSION >= 26
+ return fuse_main(args->argc, args->argv, &wdfs_operations, NULL);
+ #else
+ return fuse_main(args->argc, args->argv, &wdfs_operations);