summaryrefslogtreecommitdiff
path: root/filesystems/fuse-httpfs/patches/patch-aa
diff options
context:
space:
mode:
authorjoerg <joerg>2009-08-03 13:50:39 +0000
committerjoerg <joerg>2009-08-03 13:50:39 +0000
commit3626c04ad4fd04c97f65c96e188c13eef8d2d8d5 (patch)
tree0187b7a14f6daa7b7ffec2ee7fedc2c338a583da /filesystems/fuse-httpfs/patches/patch-aa
parentacdc997c74edbc3a00730163312ff80715b6b681 (diff)
downloadpkgsrc-3626c04ad4fd04c97f65c96e188c13eef8d2d8d5.tar.gz
Try to make it compilable on NetBSD.
Diffstat (limited to 'filesystems/fuse-httpfs/patches/patch-aa')
-rw-r--r--filesystems/fuse-httpfs/patches/patch-aa19
1 files changed, 19 insertions, 0 deletions
diff --git a/filesystems/fuse-httpfs/patches/patch-aa b/filesystems/fuse-httpfs/patches/patch-aa
new file mode 100644
index 00000000000..4cff32d7cc2
--- /dev/null
+++ b/filesystems/fuse-httpfs/patches/patch-aa
@@ -0,0 +1,19 @@
+$NetBSD: patch-aa,v 1.1 2009/08/03 13:50:39 joerg Exp $
+
+--- httpfs.c.orig 2009-08-03 15:46:22.000000000 +0200
++++ httpfs.c
+@@ -1,3 +1,5 @@
++#define FUSE_USE_VERSION 25
++
+ /*
+ * HTTPFS: import a file from a web server to local file system
+ * the main use is, to mount an iso on a web server with loop device
+@@ -802,7 +804,7 @@ static int httpfs_fsync(const char *path
+ return 0;
+ }
+
+-static void *httpfs_init(void) {
++static void *httpfs_init(struct fuse_conn_info *arg) {
+ fchdir(targetFd); /* that's the catch */
+ return NULL;
+ }