diff options
Diffstat (limited to 'sysutils/cfengine2/patches/patch-ak')
-rw-r--r-- | sysutils/cfengine2/patches/patch-ak | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/sysutils/cfengine2/patches/patch-ak b/sysutils/cfengine2/patches/patch-ak new file mode 100644 index 00000000000..21d6621b6fc --- /dev/null +++ b/sysutils/cfengine2/patches/patch-ak @@ -0,0 +1,25 @@ +$NetBSD: patch-ak,v 1.1 2004/08/10 14:18:44 ben Exp $ + +--- src/df.c.orig 2004-04-29 17:01:02.000000000 -0400 ++++ src/df.c 2004-08-09 21:28:39.000000000 -0400 +@@ -49,5 +49,5 @@ + + { +-#if defined SOLARIS || defined OSF || defined UNIXWARE ++#if defined SOLARIS || defined OSF || defined UNIXWARE || (defined(__NetBSD__) && __NetBSD_Version__ >= 200040000) + struct statvfs buf; + #elif defined ULTRIX +@@ -71,5 +71,5 @@ + return CF_INFINITY; + } +-#elif defined SOLARIS || defined OSF || defined UNIXWARE ++#elif defined SOLARIS || defined OSF || defined UNIXWARE || (defined(__NetBSD__) && __NetBSD_Version__ >= 200040000) + if (statvfs (file, &buf) != 0) + { +@@ -78,5 +78,5 @@ + return CF_INFINITY; + } +-#elif defined IRIX || defined SCO || defined CFCRAY || defined UNIXWARE ++#elif defined IRIX || defined SCO || defined CFCRAY || defined UNIXWARE || (defined(__NetBSD__) && __NetBSD_Version__ >= 200040000) + if (statfs (file, &buf, sizeof (struct statfs), 0) != 0) + { |