summaryrefslogtreecommitdiff
path: root/net/netatalk/patches
diff options
context:
space:
mode:
authormarkd <markd>2004-11-03 20:53:15 +0000
committermarkd <markd>2004-11-03 20:53:15 +0000
commitac4e6a5e9a59ead7361b0870f5dd4eab580cba8b (patch)
tree6475640b97c61ef1ded5e39b889a6d977757dbee /net/netatalk/patches
parentf24a9c7562272dd14bb295509b50559eff8c0a38 (diff)
downloadpkgsrc-ac4e6a5e9a59ead7361b0870f5dd4eab580cba8b.tar.gz
Fix statvfs() handling.
Diffstat (limited to 'net/netatalk/patches')
-rw-r--r--net/netatalk/patches/patch-ag4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/netatalk/patches/patch-ag b/net/netatalk/patches/patch-ag
index 6b266e20715..c21b99afa4e 100644
--- a/net/netatalk/patches/patch-ag
+++ b/net/netatalk/patches/patch-ag
@@ -1,4 +1,4 @@
-$NetBSD: patch-ag,v 1.4 2004/11/02 11:26:28 markd Exp $
+$NetBSD: patch-ag,v 1.5 2004/11/03 20:53:15 markd Exp $
--- etc/afpd/unix.h.orig 2004-05-11 06:40:33.000000000 +1200
+++ etc/afpd/unix.h
@@ -7,7 +7,7 @@ $NetBSD: patch-ag,v 1.4 2004/11/02 11:26:28 markd Exp $
#else /* TRU64 */
/* temp fix, was: defined(HAVE_SYS_STATVFS) || defined(__svr4__) */
-#if defined(__svr4__)
-+#if defined(__svr4__) || defined(__NetBSD__)
++#if defined(__svr4__) || (defined(__NetBSD__) && (__NetBSD_Version__ >= 200040000))
#include <sys/statvfs.h>
#define statfs statvfs
#else /* HAVE_SYS_STATVFS || __svr4__ */