Fix build on DragonFly.

This commit is contained in:
joerg 2006-12-06 17:15:22 +00:00
parent b838322dba
commit 949bebb51d
2 changed files with 15 additions and 4 deletions

View file

@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.23 2006/10/12 11:54:49 markd Exp $
$NetBSD: distinfo,v 1.24 2006/12/06 17:15:22 joerg Exp $
SHA1 (netatalk-2.0.3.tar.bz2) = ce2d5dd123467ccae72fc62ca4ee3738019455f2
RMD160 (netatalk-2.0.3.tar.bz2) = 29b763400a45797ac4a8e499d5328aa91a091c91
@ -8,7 +8,7 @@ SHA1 (patch-ab) = 10bf2fdd900a6c2189376757e921bb6228e0f19c
SHA1 (patch-ac) = ba559d1b957172e77ec8eb9cc5c60d2f88044ffa
SHA1 (patch-ad) = 311d00d165688d4baa1365ba6c4147bd6293f3d8
SHA1 (patch-af) = 997909d7cf444a2481693069864da9134ce413d4
SHA1 (patch-ag) = 5245bc7927b71cd5d0f706cb068425565aa73951
SHA1 (patch-ag) = 1785045e56d93ea0747e264a1d1a8c743e7c798d
SHA1 (patch-ah) = 318626f5c6d21f025ae5e08c9da76bd4c493f7e6
SHA1 (patch-ai) = e8f453569db891100221f27bf579c66a18a650b7
SHA1 (patch-ak) = ee205781dffb02b558353e95a07f7f66e143614a

View file

@ -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)