From 02841a31a61f52565fc238c4fc43a360dd0b44ad Mon Sep 17 00:00:00 2001 From: minskim Date: Sun, 8 Jul 2007 22:22:29 +0000 Subject: Make this package build on platforms that don't define MNT_UNION. --- sysutils/fam/patches/patch-ap | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'sysutils/fam/patches/patch-ap') 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"); -- cgit v1.2.3