aboutsummaryrefslogtreecommitdiffstats
path: root/net/netatalk-devel
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2002-09-09 12:18:34 +0800
committermarcus <marcus@FreeBSD.org>2002-09-09 12:18:34 +0800
commitb235f134626fff830d0f95bfbcdb869ca79fc207 (patch)
treef8a1e785dd9f8d5f94fb8e98c175f3be90666d9a /net/netatalk-devel
parent8317d7d64f44ff22ea3a087414689d6ebb93bd5f (diff)
downloadfreebsd-ports-gnome-b235f134626fff830d0f95bfbcdb869ca79fc207.tar.gz
freebsd-ports-gnome-b235f134626fff830d0f95bfbcdb869ca79fc207.tar.zst
freebsd-ports-gnome-b235f134626fff830d0f95bfbcdb869ca79fc207.zip
Fix build on -CURRENT.
Submitted by: bento
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__ */