summaryrefslogtreecommitdiff
path: root/filesystems/fuse-httpfs/patches/patch-aa
blob: 4cff32d7cc2e9be87e5ca6ba77668e864a4eb03f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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;
 }