pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/fam ensure that fam compiles on systems that ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a86745907853
branches:  trunk
changeset: 552382:a86745907853
user:      schwarz <schwarz%pkgsrc.org@localhost>
date:      Sat Jan 03 16:32:59 2009 +0000

description:
ensure that fam compiles on systems that do not define MNT_NODEV such as
FreeBSD 7.1

diffstat:

 sysutils/fam/distinfo         |   4 ++--
 sysutils/fam/patches/patch-ap |  10 ++++++----
 2 files changed, 8 insertions(+), 6 deletions(-)

diffs (44 lines):

diff -r 264387ae27bd -r a86745907853 sysutils/fam/distinfo
--- a/sysutils/fam/distinfo     Sat Jan 03 16:31:37 2009 +0000
+++ b/sysutils/fam/distinfo     Sat Jan 03 16:32:59 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.30 2008/11/09 14:32:28 schwarz Exp $
+$NetBSD: distinfo,v 1.31 2009/01/03 16:32:59 schwarz Exp $
 
 SHA1 (fam-2.7.0.tar.gz) = 6c2316f02acf89a41c42ffc3d7fd9cf5eada83a8
 RMD160 (fam-2.7.0.tar.gz) = 1895b578d6a141c36d5bee4e3fbbc2a298a91430
@@ -18,7 +18,7 @@
 SHA1 (patch-am) = 4fa488940675c5283806819288f7674f4634e038
 SHA1 (patch-an) = 7aa54fb1f90e3b2eb767d41fd842f7f4a0561b81
 SHA1 (patch-ao) = 161160f121e9338e807bfe0c5df6cf14457fec62
-SHA1 (patch-ap) = c30ed27c038ef23da313df0a45f81401b4b9ae19
+SHA1 (patch-ap) = 07ea3a203943c9340851cc1f09db05a0c66d1eeb
 SHA1 (patch-aq) = a54ba100b779fa13b35c962ba734ee11e093cb28
 SHA1 (patch-ar) = 37a8fe2e70d4cbc669a0c853b3404d8c0354235a
 SHA1 (patch-as) = d82bd15cfa04e52513e2b052f4e429d2133635f1
diff -r 264387ae27bd -r a86745907853 sysutils/fam/patches/patch-ap
--- a/sysutils/fam/patches/patch-ap     Sat Jan 03 16:31:37 2009 +0000
+++ b/sysutils/fam/patches/patch-ap     Sat Jan 03 16:32:59 2009 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ap,v 1.13 2008/11/09 14:32:28 schwarz Exp $
+$NetBSD: patch-ap,v 1.14 2009/01/03 16:32:59 schwarz Exp $
 
---- src/mntent_compat.c++.orig Sun Jul  8 08:16:38 2007
-+++ src/mntent_compat.c++
-@@ -0,0 +1,193 @@
+--- src/mntent_compat.c++.orig 2009-01-01 23:13:49.000000000 +0100
++++ src/mntent_compat.c++      2009-01-01 23:16:01.000000000 +0100
+@@ -0,0 +1,195 @@
 +/*
 + * Copyright (c) 1980, 1989, 1993, 1994
 + *      The Regents of the University of California.  All rights reserved.
@@ -106,7 +106,9 @@
 +        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
 +#ifdef MNT_UNION
 +        if (flags & MNT_UNION)          res = catopt(res, "union");
 +#endif



Home | Main Index | Thread Index | Old Index