1e39952efe
Fuse-ext2 is a multi OS FUSE module to mount ext2 and ext3 file system devices and/or images with read write support. Please note that this file-system only works under NetBSD if the "librefuse" library on your system contains this bug fix: - http://mail-index.netbsd.org/source-changes/2011/07/09/msg024410.html - http://releng.netbsd.org/cgi-bin/req-5.cgi?show=1648
19 lines
644 B
Text
19 lines
644 B
Text
$NetBSD: patch-ac,v 1.1.1.1 2011/07/09 15:27:11 tron Exp $
|
|
|
|
Fix build under NetBSD, based on "pkgsrc/sysutils/e2fsprogs/patches/patch-af".
|
|
|
|
--- e2fsprogs-1.41.9/ext2fs/ismounted.c.orig 2010-05-18 03:04:39.000000000 +0000
|
|
+++ e2fsprogs-1.41.9/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;
|