openbsd-ports/sysutils/dfc/patches/patch-src_platform_services-bsd_c
bcallah 251d561f63 Update to dfc-3.1.1
From Klemens Nanni <kl3 AT posteo DOT org> -- thanks!
2017-11-12 16:00:15 +00:00

14 lines
499 B
Plaintext

$OpenBSD: patch-src_platform_services-bsd_c,v 1.2 2017/11/12 16:00:15 bcallah Exp $
Index: src/platform/services-bsd.c
--- src/platform/services-bsd.c.orig
+++ src/platform/services-bsd.c
@@ -73,7 +73,7 @@ typedef struct statfs statst;
* df(1) manual page. However, df and df -a have the same output on 2 machines
* on which I could test. Use this workaround for now.
*/
-#if defined(__APPLE__)
+#if defined(__APPLE__) || defined(__OpenBSD__)
#ifndef MNT_IGNORE
#define MNT_IGNORE 0
#endif