Mon Aug 3 13:50:39 2009 UTC ()
Try to make it compilable on NetBSD.
(joerg)
diff -r1.1.1.1 -r1.2 pkgsrc/filesystems/fuse-httpfs/distinfo
diff -r0 -r1.1 pkgsrc/filesystems/fuse-httpfs/patches/patch-aa
--- pkgsrc/filesystems/fuse-httpfs/distinfo 2007/02/20 23:44:06 1.1.1.1
+++ pkgsrc/filesystems/fuse-httpfs/distinfo 2009/08/03 13:50:39 1.2
| @@ -1,5 +1,6 @@ | | | @@ -1,5 +1,6 @@ |
1 | $NetBSD: distinfo,v 1.1.1.1 2007/02/20 23:44:06 xtraeme Exp $ | | 1 | $NetBSD: distinfo,v 1.2 2009/08/03 13:50:39 joerg Exp $ |
2 | | | 2 | |
3 | SHA1 (httpfs_with_static_binaries_2.06.08.26.tar.gz) = 857dfe72b817b01c8a445eb486a047b8c4f8ec02 | | 3 | SHA1 (httpfs_with_static_binaries_2.06.08.26.tar.gz) = 857dfe72b817b01c8a445eb486a047b8c4f8ec02 |
4 | RMD160 (httpfs_with_static_binaries_2.06.08.26.tar.gz) = 0172c155d38b0ee2e862fdcf8815886ed7d28e48 | | 4 | RMD160 (httpfs_with_static_binaries_2.06.08.26.tar.gz) = 0172c155d38b0ee2e862fdcf8815886ed7d28e48 |
5 | Size (httpfs_with_static_binaries_2.06.08.26.tar.gz) = 115384 bytes | | 5 | Size (httpfs_with_static_binaries_2.06.08.26.tar.gz) = 115384 bytes |
| | | 6 | SHA1 (patch-aa) = 6dc82d997847f2bb5e6618f59736d5bee5d97eb1 |
$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;
}