aboutsummaryrefslogtreecommitdiffstats
path: root/net/netatalk-devel
diff options
context:
space:
mode:
Diffstat (limited to 'net/netatalk-devel')
-rw-r--r--net/netatalk-devel/files/patch-etc_afpd_unix.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/net/netatalk-devel/files/patch-etc_afpd_unix.h b/net/netatalk-devel/files/patch-etc_afpd_unix.h
new file mode 100644
index 000000000000..cfc566530256
--- /dev/null
+++ b/net/netatalk-devel/files/patch-etc_afpd_unix.h
@@ -0,0 +1,12 @@
+--- etc/afpd/unix.h.orig Sun Sep 8 23:45:56 2002
++++ etc/afpd/unix.h Mon Sep 9 00:03:58 2002
+@@ -30,7 +30,8 @@
+ #if defined(TRU64)
+ #define f_frsize f_fsize
+ #else /* TRU64 */
+-#if defined(HAVE_SYS_STATVFS_H) || defined(__svr4__)
++#if (defined(HAVE_SYS_STATVFS_H) || defined(__svr4__)) && \
++ !defined(__FreeBSD__)
+ #include <sys/statvfs.h>
+ #define statfs statvfs
+ #else /* HAVE_SYS_STATVFS || __svr4__ */