summaryrefslogtreecommitdiff
path: root/net/netatalk/patches/patch-ag
diff options
context:
space:
mode:
Diffstat (limited to 'net/netatalk/patches/patch-ag')
-rw-r--r--net/netatalk/patches/patch-ag13
1 files changed, 13 insertions, 0 deletions
diff --git a/net/netatalk/patches/patch-ag b/net/netatalk/patches/patch-ag
new file mode 100644
index 00000000000..6b266e20715
--- /dev/null
+++ b/net/netatalk/patches/patch-ag
@@ -0,0 +1,13 @@
+$NetBSD: patch-ag,v 1.4 2004/11/02 11:26:28 markd Exp $
+
+--- etc/afpd/unix.h.orig 2004-05-11 06:40:33.000000000 +1200
++++ etc/afpd/unix.h
+@@ -32,7 +32,7 @@ typedef int mode_t;
+ #define f_frsize f_fsize
+ #else /* TRU64 */
+ /* temp fix, was: defined(HAVE_SYS_STATVFS) || defined(__svr4__) */
+-#if defined(__svr4__)
++#if defined(__svr4__) || defined(__NetBSD__)
+ #include <sys/statvfs.h>
+ #define statfs statvfs
+ #else /* HAVE_SYS_STATVFS || __svr4__ */