diff options
Diffstat (limited to 'sysutils/fam/patches/patch-av')
-rw-r--r-- | sysutils/fam/patches/patch-av | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/sysutils/fam/patches/patch-av b/sysutils/fam/patches/patch-av new file mode 100644 index 00000000000..2b6732f3539 --- /dev/null +++ b/sysutils/fam/patches/patch-av @@ -0,0 +1,39 @@ +$NetBSD: patch-av,v 1.5 2004/11/19 12:35:22 sketch Exp $ + +--- src/FileSystem.h.orig 2004-11-08 16:45:59.904416000 +0000 ++++ src/FileSystem.h 2004-11-08 16:48:24.970550000 +0000 +@@ -27,7 +27,13 @@ + #include "Request.h" + #include "Set.h" + ++#include "fam-mntent.h" ++ ++#if defined(HAVE_SYS_MNTTAB_H) ++struct mnttab; ++#else + struct mntent; ++#endif + struct stat; + + // FileSystem is the abstract base class for a per-filesystem object. +@@ -91,12 +97,20 @@ + + typedef Set<ClientInterest *> Interests; + ++#if defined(HAVE_SYS_MNTTAB_H) ++ FileSystem(const mnttab&); ++#else + FileSystem(const mntent&); ++#endif + virtual ~FileSystem(); + + // Miscellaneous routines + ++#if defined(HAVE_SYS_MNTTAB_H) ++ bool matches(const mnttab& m) const; ++#else + bool matches(const mntent& m) const; ++#endif + const char *dir() const { return mydir; } + const char *fsname() const { return myfsname; } + const Interests& interests() { return myinterests; } |