diff options
Diffstat (limited to 'sysutils/e2fsprogs/patches/patch-af')
-rw-r--r-- | sysutils/e2fsprogs/patches/patch-af | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sysutils/e2fsprogs/patches/patch-af b/sysutils/e2fsprogs/patches/patch-af new file mode 100644 index 00000000000..06b142ad425 --- /dev/null +++ b/sysutils/e2fsprogs/patches/patch-af @@ -0,0 +1,16 @@ +$NetBSD: patch-af,v 1.1 2004/06/13 19:39:54 cube Exp $ + +--- lib/ext2fs/ismounted.c.orig 2002-10-31 20:17:24.000000000 +0000 ++++ lib/ext2fs/ismounted.c +@@ -193,7 +193,11 @@ static errcode_t check_mntent(const char + static errcode_t check_getmntinfo(const char *file, int *mount_flags, + char *mtpt, int mtlen) + { ++#if defined(__NetBSD__) && __NetBSD_Version__ >= 200060000 ++ struct statvfs *mp; ++#else + struct statfs *mp; ++#endif + int len, n; + const char *s1; + char *s2; |