summaryrefslogtreecommitdiff
path: root/filesystems
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-08-03 13:50:39 +0000
committerjoerg <joerg@pkgsrc.org>2009-08-03 13:50:39 +0000
commitf3f26fdc0f4ddf26f4524b289d5c57814f152302 (patch)
tree0187b7a14f6daa7b7ffec2ee7fedc2c338a583da /filesystems
parent3986bbe419122ad3b9534303f86a6d6f231f560d (diff)
downloadpkgsrc-f3f26fdc0f4ddf26f4524b289d5c57814f152302.tar.gz
Try to make it compilable on NetBSD.
Diffstat (limited to 'filesystems')
-rw-r--r--filesystems/fuse-httpfs/distinfo3
-rw-r--r--filesystems/fuse-httpfs/patches/patch-aa19
2 files changed, 21 insertions, 1 deletions
diff --git a/filesystems/fuse-httpfs/distinfo b/filesystems/fuse-httpfs/distinfo
index 1b524edfcfb..40d13fef263 100644
--- a/filesystems/fuse-httpfs/distinfo
+++ b/filesystems/fuse-httpfs/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2007/02/20 23:44:06 xtraeme Exp $
+$NetBSD: distinfo,v 1.2 2009/08/03 13:50:39 joerg Exp $
SHA1 (httpfs_with_static_binaries_2.06.08.26.tar.gz) = 857dfe72b817b01c8a445eb486a047b8c4f8ec02
RMD160 (httpfs_with_static_binaries_2.06.08.26.tar.gz) = 0172c155d38b0ee2e862fdcf8815886ed7d28e48
Size (httpfs_with_static_binaries_2.06.08.26.tar.gz) = 115384 bytes
+SHA1 (patch-aa) = 6dc82d997847f2bb5e6618f59736d5bee5d97eb1
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;
+ }