summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorcube <cube@pkgsrc.org>2004-06-13 19:39:54 +0000
committercube <cube@pkgsrc.org>2004-06-13 19:39:54 +0000
commit953bfc2976665ea9af7c219d1c2525e42400759d (patch)
tree7573b5a0bd38dd29220da0e9eb2de4317194d106 /sysutils
parent7409af3eca66e8435b2d1f2f80ce877b284edf84 (diff)
downloadpkgsrc-953bfc2976665ea9af7c219d1c2525e42400759d.tar.gz
Add a patch to use struct statvfs on NetBSD 2.0F and newer. Fixes PR 25891
by Andreas Wiese.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/e2fsprogs/distinfo3
-rw-r--r--sysutils/e2fsprogs/patches/patch-af16
2 files changed, 18 insertions, 1 deletions
diff --git a/sysutils/e2fsprogs/distinfo b/sysutils/e2fsprogs/distinfo
index ded18bdb13a..8052080dc8b 100644
--- a/sysutils/e2fsprogs/distinfo
+++ b/sysutils/e2fsprogs/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2004/05/23 23:28:29 danw Exp $
+$NetBSD: distinfo,v 1.6 2004/06/13 19:39:54 cube Exp $
SHA1 (e2fsprogs-1.32.tar.gz) = 409bbdbc48b5f8ec5006e283962d8432d971d51f
Size (e2fsprogs-1.32.tar.gz) = 2894603 bytes
@@ -7,3 +7,4 @@ SHA1 (patch-ab) = 932d19e15eed6589e124de60c35712b32e86eb83
SHA1 (patch-ac) = 171e7e887f62831ebf8c48c6aa84cd3804f02067
SHA1 (patch-ad) = 6aff39f1ca9ff0c43333168a190e16c4d7d98e2b
SHA1 (patch-ae) = 85d394a64681882006854beee6826d4c6a6cd442
+SHA1 (patch-af) = 7fa0a450957e89938c2b568726ad42e25867f10a
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;