pkgsrc/sysutils/e2fsprogs/patches/patch-af
ryoon 89e4b8e377 Update e2fsprogs to 1.41.12 from 1.40.7.
Fix PR pkg/43950.

Major change from 1.40.7:
* ext4 filesystem support
* many translation updates
* many bug-fixes
in detail, see RELEASE-NOTES.
2010-12-23 06:34:50 +00:00

17 lines
535 B
Text

$NetBSD: patch-af,v 1.7 2010/12/23 06:34:50 ryoon Exp $
--- lib/ext2fs/ismounted.c.orig 2010-05-18 03:04:39.000000000 +0000
+++ lib/ext2fs/ismounted.c
@@ -198,7 +198,11 @@ static errcode_t check_mntent(const char
static errcode_t check_getmntinfo(const char *file, int *mount_flags,
char *mtpt, int mtlen)
{
- struct statfs *mp;
+#if defined(__NetBSD__) && __NetBSD_Version__ >= 299000900
+ struct statvfs *mp;
+#else
+ struct statfs *mp;
+#endif
int len, n;
const char *s1;
char *s2;