diff options
Diffstat (limited to 'filesystems/fuse-mp3fs/patches/patch-aa')
-rw-r--r-- | filesystems/fuse-mp3fs/patches/patch-aa | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/filesystems/fuse-mp3fs/patches/patch-aa b/filesystems/fuse-mp3fs/patches/patch-aa index 8e145ebe404..896be4b7915 100644 --- a/filesystems/fuse-mp3fs/patches/patch-aa +++ b/filesystems/fuse-mp3fs/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.2 2009/07/17 10:43:21 wiz Exp $ +$NetBSD: patch-aa,v 1.3 2012/08/17 14:10:31 marino Exp $ --- src/mp3fs.c.orig 2008-12-14 06:17:35.000000000 +0100 +++ src/mp3fs.c @@ -6,7 +6,7 @@ $NetBSD: patch-aa,v 1.2 2009/07/17 10:43:21 wiz Exp $ #include <fcntl.h> #include <dirent.h> #include <errno.h> -+#ifdef __NetBSD__ ++#if defined (__NetBSD__) || defined (__DragonFly__) +#include <sys/statvfs.h> +#else #include <sys/statfs.h> @@ -19,7 +19,7 @@ $NetBSD: patch-aa,v 1.2 2009/07/17 10:43:21 wiz Exp $ } -static int mp3fs_statfs(const char *path, struct statfs *stbuf) { -+#ifdef __NetBSD__ ++#if defined (__NetBSD__) || defined (__DragonFly__) +static int mp3fs_statfs(const char *path, struct statvfs *stbuf) +#else +static int mp3fs_statfs(const char *path, struct statfs *stbuf) @@ -32,7 +32,7 @@ $NetBSD: patch-aa,v 1.2 2009/07/17 10:43:21 wiz Exp $ strncpy(name, basepath, sizeof(name)); strncat(name, path, sizeof(name) - strlen(name)); -+#ifdef __NetBSD__ ++#if defined (__NetBSD__) || defined (__DragonFly__) + res = statvfs(name, stbuf); +#else res = statfs(name, stbuf); |