aboutsummaryrefslogtreecommitdiff
path: root/devel/fam
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2005-12-06 04:52:04 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2005-12-06 04:52:04 +0000
commit50a6fbd8a5e722a968d64c7e5dfae615bd006eea (patch)
tree9ddd8820d3830b8e8d9d40a98a1887dd6e08d67b /devel/fam
parent4dfc8bcd726079c7ee68d433a21fcb5350c10df7 (diff)
downloadports-50a6fbd8a5e722a968d64c7e5dfae615bd006eea.tar.gz
ports-50a6fbd8a5e722a968d64c7e5dfae615bd006eea.zip
Really fix the build on recent -CURRENT by patching the correct version of
mntent_compat.c++.
Notes
Notes: svn path=/head/; revision=150507
Diffstat (limited to 'devel/fam')
-rw-r--r--devel/fam/files/mntent_compat.c++2
-rw-r--r--devel/fam/files/patch-fam-mntent_compat.c++12
2 files changed, 2 insertions, 12 deletions
diff --git a/devel/fam/files/mntent_compat.c++ b/devel/fam/files/mntent_compat.c++
index ae8768030d54..0675cd2ccf7f 100644
--- a/devel/fam/files/mntent_compat.c++
+++ b/devel/fam/files/mntent_compat.c++
@@ -49,7 +49,9 @@ static struct optmap omap[] = {
{ MNT_SYNCHRONOUS, "sync" },
{ MNT_NOEXEC, "noexec" },
{ MNT_NOSUID, "nosuid" },
+#ifdef MNT_NODEV
{ MNT_NODEV, "nodev" },
+#endif
{ MNT_UNION, "union" },
{ MNT_ASYNC, "async" },
{ MNT_NOATIME, "noatime" },
diff --git a/devel/fam/files/patch-fam-mntent_compat.c++ b/devel/fam/files/patch-fam-mntent_compat.c++
deleted file mode 100644
index 2df1ba9280f0..000000000000
--- a/devel/fam/files/patch-fam-mntent_compat.c++
+++ /dev/null
@@ -1,12 +0,0 @@
---- fam/mntent_compat.c++.orig Sun Dec 4 22:43:02 2005
-+++ fam/mntent_compat.c++ Sun Dec 4 22:43:49 2005
-@@ -98,7 +98,9 @@ flags2opts (int flags)
- if (flags & MNT_SYNCHRONOUS) res = catopt(res, "sync");
- if (flags & MNT_NOEXEC) res = catopt(res, "noexec");
- if (flags & MNT_NOSUID) res = catopt(res, "nosuid");
-+#ifdef MNT_NODEV
- if (flags & MNT_NODEV) res = catopt(res, "nodev");
-+#endif
- if (flags & MNT_UNION) res = catopt(res, "union");
- if (flags & MNT_ASYNC) res = catopt(res, "async");
- if (flags & MNT_NOATIME) res = catopt(res, "noatime");