diff options
author | abs <abs> | 2005-09-06 08:10:57 +0000 |
---|---|---|
committer | abs <abs> | 2005-09-06 08:10:57 +0000 |
commit | 38b9aa514440e8e7764a5748e4e3297ad51f34fd (patch) | |
tree | 93bf2742fc4e1bf90527c6e25c8e73ae1da1c960 /ham/dpbox/patches | |
parent | 18fff7191848c82996a788e4a2974e226ebb0d13 (diff) | |
download | pkgsrc-38b9aa514440e8e7764a5748e4e3297ad51f34fd.tar.gz |
Fix NetBSD statvfs check to be >= 299000900 not >= 200040000
No pkgrevision bumps needed.
Diffstat (limited to 'ham/dpbox/patches')
-rw-r--r-- | ham/dpbox/patches/patch-af | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ham/dpbox/patches/patch-af b/ham/dpbox/patches/patch-af index f6c7bff2abe..26f0612ca66 100644 --- a/ham/dpbox/patches/patch-af +++ b/ham/dpbox/patches/patch-af @@ -1,4 +1,4 @@ -$NetBSD: patch-af,v 1.2 2004/09/18 15:45:13 wiz Exp $ +$NetBSD: patch-af,v 1.3 2005/09/06 08:10:58 abs Exp $ --- filesys.c 2004/09/15 16:24:57 1.1 +++ filesys.c 2004/09/15 16:24:21 @@ -6,7 +6,7 @@ $NetBSD: patch-af,v 1.2 2004/09/18 15:45:13 wiz Exp $ #if defined(__linux__) || defined(__NetBSD__) -+#if defined(__NetBSD__) && (__NetBSD_Version__ >= 200040000) ++#if defined(__NetBSD__) && (__NetBSD_Version__ >= 299000900) +#include <sys/statvfs.h> +#endif + @@ -18,7 +18,7 @@ $NetBSD: patch-af,v 1.2 2004/09/18 15:45:13 wiz Exp $ long DFree(char *mount) { -+#if defined(__NetBSD__) && (__NetBSD_Version__ < 200040000) ++#if defined(__NetBSD__) && (__NetBSD_Version__ < 299000900) struct statfs mystatfs; statfs(mount, &mystatfs); |