From a83d4a8c6129c3de3871bdcba03e686d942a7e4a Mon Sep 17 00:00:00 2001 From: agc Date: Wed, 16 May 2007 22:28:19 +0000 Subject: Make this package compile again after recent changes to fuse.h --- filesystems/fuse-wdfs/distinfo | 3 ++- filesystems/fuse-wdfs/patches/patch-ab | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 filesystems/fuse-wdfs/patches/patch-ab diff --git a/filesystems/fuse-wdfs/distinfo b/filesystems/fuse-wdfs/distinfo index 1b3df6c77da..d0fe2608a01 100644 --- a/filesystems/fuse-wdfs/distinfo +++ b/filesystems/fuse-wdfs/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.1.1.1 2007/05/16 19:56:37 agc Exp $ +$NetBSD: distinfo,v 1.2 2007/05/16 22:28:19 agc Exp $ SHA1 (wdfs-1.4.1.tar.gz) = 7748ef4f3d00a0910a2bc09c5901929408e8a990 RMD160 (wdfs-1.4.1.tar.gz) = f2d682ba7840ba11ada3f0444fddb921890240fb Size (wdfs-1.4.1.tar.gz) = 109223 bytes SHA1 (patch-aa) = 3353a90a2a411f9633e26dd6a0df05d0c0ab083d +SHA1 (patch-ab) = f48827366e739ea5602d95695f62dd4630fa3fa1 diff --git a/filesystems/fuse-wdfs/patches/patch-ab b/filesystems/fuse-wdfs/patches/patch-ab new file mode 100644 index 00000000000..5220e0a52e2 --- /dev/null +++ b/filesystems/fuse-wdfs/patches/patch-ab @@ -0,0 +1,22 @@ +$NetBSD: patch-ab,v 1.1 2007/05/16 22:28:19 agc Exp $ + +--- src/wdfs-main.c 2007/05/16 22:24:29 1.1 ++++ src/wdfs-main.c 2007/05/16 22:24:54 +@@ -1209,7 +1209,7 @@ + + + /* just say hello when fuse takes over control. */ +-#if FUSE_VERSION >= 26 ++#if FUSE_USE_VERSION >= 26 + static void* wdfs_init(struct fuse_conn_info *conn) + #else + static void* wdfs_init() +@@ -1304,7 +1304,7 @@ + /* 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 FUSE_USE_VERSION >= 26 + return fuse_main(args->argc, args->argv, &wdfs_operations, NULL); + #else + return fuse_main(args->argc, args->argv, &wdfs_operations); -- cgit v1.2.3