diff options
author | marino <marino> | 2012-08-17 14:10:31 +0000 |
---|---|---|
committer | marino <marino> | 2012-08-17 14:10:31 +0000 |
commit | 6597cdf58cabf1c99bd48d85d5c1e76da11f147d (patch) | |
tree | 79c72e2e3ce9df6e262e39adb8a66eadc9ea6065 /filesystems | |
parent | 62e4d7c7e0296c00e1bc4e7b3dacb1efc1890e57 (diff) | |
download | pkgsrc-6597cdf58cabf1c99bd48d85d5c1e76da11f147d.tar.gz |
filesystems/fuse-mp3fs: Fix build for DragonFly
DragonFly needs same macro switches as NetBSD, adjust existing patch
accordingly.
Diffstat (limited to 'filesystems')
-rw-r--r-- | filesystems/fuse-mp3fs/distinfo | 4 | ||||
-rw-r--r-- | filesystems/fuse-mp3fs/patches/patch-aa | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/filesystems/fuse-mp3fs/distinfo b/filesystems/fuse-mp3fs/distinfo index cfb6edd7677..f1bcd4e3ad5 100644 --- a/filesystems/fuse-mp3fs/distinfo +++ b/filesystems/fuse-mp3fs/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.3 2012/03/29 11:40:19 wiz Exp $ +$NetBSD: distinfo,v 1.4 2012/08/17 14:10:31 marino Exp $ SHA1 (mp3fs-0.13.tar.gz) = b246bd747a32256cb8364b7ac0cc8b7a4e1d3f74 RMD160 (mp3fs-0.13.tar.gz) = 6ad1126ee22b35fe4987dd6addbc41a25c74a508 Size (mp3fs-0.13.tar.gz) = 301642 bytes -SHA1 (patch-aa) = b4554994bb9949c645ba07f43615c78004fc9895 +SHA1 (patch-aa) = 0013f729158988403ea7ed7aa3a3102e9531ef91 SHA1 (patch-ab) = 9b259b045decb4556dd72eeb65e0275554a93b6f SHA1 (patch-src_class.h) = 2a0c03c20ffce50c1270d552215edb052f3ecf50 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); |