Fix build on -CURRENT.
Submitted by: bento
This commit is contained in:
parent
896ccafe99
commit
ab030f6243
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=65887
2 changed files with 24 additions and 0 deletions
12
net/netatalk-devel/files/patch-etc_afpd_unix.h
Normal file
12
net/netatalk-devel/files/patch-etc_afpd_unix.h
Normal file
|
@ -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__ */
|
12
net/netatalk/files/patch-etc_afpd_unix.h
Normal file
12
net/netatalk/files/patch-etc_afpd_unix.h
Normal file
|
@ -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__ */
|
Loading…
Reference in a new issue