summaryrefslogtreecommitdiff
path: root/sysutils/fam/patches/patch-ap
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2007-07-08 22:22:29 +0000
committerminskim <minskim@pkgsrc.org>2007-07-08 22:22:29 +0000
commit02841a31a61f52565fc238c4fc43a360dd0b44ad (patch)
tree7a0ebcf52f62665138c53e78f3edac6cf9de0ddd /sysutils/fam/patches/patch-ap
parent1b1fc37f4faf06bddbdee7e120124641a611707c (diff)
downloadpkgsrc-02841a31a61f52565fc238c4fc43a360dd0b44ad.tar.gz
Make this package build on platforms that don't define MNT_UNION.
Diffstat (limited to 'sysutils/fam/patches/patch-ap')
-rw-r--r--sysutils/fam/patches/patch-ap8
1 files changed, 5 insertions, 3 deletions
diff --git a/sysutils/fam/patches/patch-ap b/sysutils/fam/patches/patch-ap
index d5c8019b5b3..4165832860d 100644
--- a/sysutils/fam/patches/patch-ap
+++ b/sysutils/fam/patches/patch-ap
@@ -1,8 +1,8 @@
-$NetBSD: patch-ap,v 1.11 2006/08/26 15:30:57 joerg Exp $
+$NetBSD: patch-ap,v 1.12 2007/07/08 22:22:29 minskim Exp $
---- src/mntent_compat.c++.orig 2005-07-24 02:27:46.000000000 +0000
+--- src/mntent_compat.c++.orig Sun Jul 8 08:16:38 2007
+++ src/mntent_compat.c++
-@@ -0,0 +1,191 @@
+@@ -0,0 +1,193 @@
+/*
+ * Copyright (c) 1980, 1989, 1993, 1994
+ * The Regents of the University of California. All rights reserved.
@@ -107,7 +107,9 @@ $NetBSD: patch-ap,v 1.11 2006/08/26 15:30:57 joerg Exp $
+ if (flags & MNT_NOEXEC) res = catopt(res, "noexec");
+ if (flags & MNT_NOSUID) res = catopt(res, "nosuid");
+ if (flags & MNT_NODEV) res = catopt(res, "nodev");
++#ifdef MNT_UNION
+ if (flags & MNT_UNION) res = catopt(res, "union");
++#endif
+ if (flags & MNT_ASYNC) res = catopt(res, "async");
+#ifdef MNT_NOATIME
+ if (flags & MNT_NOATIME) res = catopt(res, "noatime");