summaryrefslogtreecommitdiff
path: root/net/netatalk/patches
diff options
context:
space:
mode:
authorjoerg <joerg>2006-12-06 17:15:22 +0000
committerjoerg <joerg>2006-12-06 17:15:22 +0000
commit755e506922c49637d7bf61fd4ae8e3c1bb24d0de (patch)
treefdcdd666218c7f9fc080a8bd4facf6098d0f4f2a /net/netatalk/patches
parent52262a25b550532ed8b55941de9d7d6e2cc2ed95 (diff)
downloadpkgsrc-755e506922c49637d7bf61fd4ae8e3c1bb24d0de.tar.gz
Fix build on DragonFly.
Diffstat (limited to 'net/netatalk/patches')
-rw-r--r--net/netatalk/patches/patch-ag15
1 files changed, 13 insertions, 2 deletions
diff --git a/net/netatalk/patches/patch-ag b/net/netatalk/patches/patch-ag
index 8d1178829a3..36b1254197a 100644
--- a/net/netatalk/patches/patch-ag
+++ b/net/netatalk/patches/patch-ag
@@ -1,6 +1,6 @@
-$NetBSD: patch-ag,v 1.6 2005/09/06 07:59:32 abs Exp $
+$NetBSD: patch-ag,v 1.7 2006/12/06 17:15:22 joerg Exp $
---- etc/afpd/unix.h.orig 2004-05-11 06:40:33.000000000 +1200
+--- etc/afpd/unix.h.orig 2005-01-31 17:01:00.000000000 +0000
+++ etc/afpd/unix.h
@@ -32,7 +32,7 @@ typedef int mode_t;
#define f_frsize f_fsize
@@ -11,3 +11,14 @@ $NetBSD: patch-ag,v 1.6 2005/09/06 07:59:32 abs Exp $
#include <sys/statvfs.h>
#define statfs statvfs
#else /* HAVE_SYS_STATVFS || __svr4__ */
+@@ -44,7 +44,9 @@ typedef int mode_t;
+ #include <sys/mnttab.h>
+ #endif /* __svr4__ || HAVE_SYS_MNTTAB_H */
+
+-
++#if defined(__DragonFly__)
++#define dqblk ufs_dqblk
++#endif
+
+ #if defined(HAVE_SYS_MOUNT_H) || defined(BSD4_4) || \
+ defined(linux) || defined(ultrix)