pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/e2fsprogs Add a patch to use struct statvfs o...
details: https://anonhg.NetBSD.org/pkgsrc/rev/428637fb8863
branches: trunk
changeset: 476548:428637fb8863
user: cube <cube%pkgsrc.org@localhost>
date: Sun Jun 13 19:39:54 2004 +0000
description:
Add a patch to use struct statvfs on NetBSD 2.0F and newer. Fixes PR 25891
by Andreas Wiese.
diffstat:
sysutils/e2fsprogs/distinfo | 3 ++-
sysutils/e2fsprogs/patches/patch-af | 16 ++++++++++++++++
2 files changed, 18 insertions(+), 1 deletions(-)
diffs (34 lines):
diff -r 93704cc74546 -r 428637fb8863 sysutils/e2fsprogs/distinfo
--- a/sysutils/e2fsprogs/distinfo Sun Jun 13 17:35:24 2004 +0000
+++ b/sysutils/e2fsprogs/distinfo Sun Jun 13 19:39:54 2004 +0000
@@ -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-ac) = 171e7e887f62831ebf8c48c6aa84cd3804f02067
SHA1 (patch-ad) = 6aff39f1ca9ff0c43333168a190e16c4d7d98e2b
SHA1 (patch-ae) = 85d394a64681882006854beee6826d4c6a6cd442
+SHA1 (patch-af) = 7fa0a450957e89938c2b568726ad42e25867f10a
diff -r 93704cc74546 -r 428637fb8863 sysutils/e2fsprogs/patches/patch-af
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/e2fsprogs/patches/patch-af Sun Jun 13 19:39:54 2004 +0000
@@ -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;
Home |
Main Index |
Thread Index |
Old Index