summaryrefslogtreecommitdiff
path: root/filesystems/fuse-djmount/patches
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2008-04-11 14:55:45 +0000
committeragc <agc@pkgsrc.org>2008-04-11 14:55:45 +0000
commit5aab256bf7c5cab5478e1b4d413daf1b06ad8dd9 (patch)
tree3a21654af9dd223a1bfe25d320ac08b07928176f /filesystems/fuse-djmount/patches
parent4d103733b6aeea7934088af89dbd4de358f0e4a1 (diff)
downloadpkgsrc-5aab256bf7c5cab5478e1b4d413daf1b06ad8dd9.tar.gz
Initial import of djmount-0.71 into the packages collection.
djmount is a UPnP AV client. It mounts the media content of compatible UPnP AV devices as a Unix filesystem. Djmount automatically discovers all UPnP AV Media Servers on the network, and makes the content available in a directory tree. All shared files (e.g. Audio or Video files) are directly visible and can be played using your favorite media player. [15:53:42] agc@inspiron1300 ~ 190 > df /mnt Filesystem 1K-blocks Used Avail %Cap Mounted on /dev/puffs 28101396 20741466 5954862 77% /mnt [15:53:44] agc@inspiron1300 ~ 191 > l /mnt total 5 dr-xr-xr-x 5 root wheel 512 Jan 1 2000 . drwxr-xr-x 37 root wheel 1536 Mar 15 13:22 .. dr-xr-xr-x 5 root wheel 512 Jan 1 2000 .debug dr-xr-xr-x 8 root wheel 512 Jan 1 2000 INSPIRON1300: Alistair Crooks: dr-xr-xr-x 7 root wheel 512 Jan 1 2000 MediaTomb -r--r--r-- 1 root wheel 41 Jan 1 2000 devices [15:54:23] agc@inspiron1300 ~ 192 >
Diffstat (limited to 'filesystems/fuse-djmount/patches')
-rw-r--r--filesystems/fuse-djmount/patches/patch-aa32
1 files changed, 32 insertions, 0 deletions
diff --git a/filesystems/fuse-djmount/patches/patch-aa b/filesystems/fuse-djmount/patches/patch-aa
new file mode 100644
index 00000000000..dc8cd1bf06b
--- /dev/null
+++ b/filesystems/fuse-djmount/patches/patch-aa
@@ -0,0 +1,32 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/04/11 14:55:45 agc Exp $
+
+--- djmount/fuse_main.c 2008/04/11 12:27:48 1.1
++++ djmount/fuse_main.c 2008/04/11 12:28:51
+@@ -32,7 +32,11 @@
+ #include <fcntl.h>
+ #include <dirent.h>
+ #include <errno.h>
++#ifdef __NetBSD__
++#include <sys/statvfs.h>
++#else
+ #include <sys/statfs.h>
++#endif
+ #ifdef HAVE_SETXATTR
+ # include <sys/xattr.h>
+ #endif
+@@ -734,6 +738,7 @@
+ // Force Read-only (write operations not implemented yet)
+ FUSE_ARG ("-r");
+
++#if !defined(__NetBSD__)
+ #if HAVE_FUSE_O_READDIR_INO
+ // try to fill in d_ino in readdir
+ FUSE_ARG ("-o");
+@@ -746,6 +751,7 @@
+ FUSE_ARG ("-o");
+ FUSE_ARG ("direct_io");
+ #endif
++#endif /* !NetBSD */
+
+ /*
+ * Set charset encoding