pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/dosfstools dosfstools: Fix build on NetBSD
details: https://anonhg.NetBSD.org/pkgsrc/rev/cdb63e4e88c9
branches: trunk
changeset: 401007:cdb63e4e88c9
user: nia <nia%pkgsrc.org@localhost>
date: Mon Sep 09 09:26:00 2019 +0000
description:
dosfstools: Fix build on NetBSD
diffstat:
sysutils/dosfstools/distinfo | 3 ++-
sysutils/dosfstools/patches/patch-src_device__info.c | 18 ++++++++++++++++++
2 files changed, 20 insertions(+), 1 deletions(-)
diffs (34 lines):
diff -r 30d26e3bdb91 -r cdb63e4e88c9 sysutils/dosfstools/distinfo
--- a/sysutils/dosfstools/distinfo Mon Sep 09 09:08:07 2019 +0000
+++ b/sysutils/dosfstools/distinfo Mon Sep 09 09:26:00 2019 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1 2018/06/24 11:13:58 bsiegert Exp $
+$NetBSD: distinfo,v 1.2 2019/09/09 09:26:00 nia Exp $
SHA1 (dosfstools-4.1.tar.gz) = db39f667c3cb51bdf321f07f9cf17c726ca50323
RMD160 (dosfstools-4.1.tar.gz) = 537b5418e6a78728ff8b94023966ce2155d64d6a
SHA512 (dosfstools-4.1.tar.gz) = c45b26779c126c128ff64668403d552b9ed70e9205ced968fa9c80e7220c2b24c3f24007ae41ee20e8993637ec2aca584142458d25db42df6488edf18fb6185b
Size (dosfstools-4.1.tar.gz) = 233766 bytes
+SHA1 (patch-src_device__info.c) = c342d080fb1b64d71813516e0aef4736587e6a3a
diff -r 30d26e3bdb91 -r cdb63e4e88c9 sysutils/dosfstools/patches/patch-src_device__info.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/dosfstools/patches/patch-src_device__info.c Mon Sep 09 09:26:00 2019 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-src_device__info.c,v 1.1 2019/09/09 09:26:00 nia Exp $
+
+Support netbsd's spelling for statfs.
+
+--- src/device_info.c.orig 2016-09-15 23:17:27.000000000 +0000
++++ src/device_info.c
+@@ -318,7 +318,11 @@ int is_device_mounted(const char *path)
+ #endif
+
+ #if HAVE_DECL_GETMNTINFO
++#ifdef __NetBSD__
++ struct statvfs *stat;
++#else
+ struct statfs *stat;
++#endif
+ int count, i;
+
+ count = getmntinfo(&stat, 0);
Home |
Main Index |
Thread Index |
Old Index