Fix build on DragonFly 1.6+.

This commit is contained in:
joerg 2006-09-24 15:33:54 +00:00
parent 87e6808501
commit 1f22cec03f
2 changed files with 15 additions and 1 deletions

View file

@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.3 2005/02/24 13:40:57 agc Exp $
$NetBSD: distinfo,v 1.4 2006/09/24 15:33:54 joerg Exp $
SHA1 (setquota-0.1.tar.gz) = e7f4afa492daa10f395937f713c7b245fbcbbcdc
RMD160 (setquota-0.1.tar.gz) = 7c1ce76934450728823fe913f4e43e9b90fb75b0
@ -9,3 +9,4 @@ SHA1 (patch-ac) = d4478d4292be85453abfc822b90c8dd4f6e3d997
SHA1 (patch-ad) = 180df76af3f7bc6b46542ed48c6be8661563a15f
SHA1 (patch-ae) = e2c5fe18291dbc38c74f83917e1bb7b207ae809c
SHA1 (patch-af) = 15a051fc77060d9286c126bcbed8909c0a0a3b9f
SHA1 (patch-ag) = 9eab1ea8391fa978c93c55edd26847def9bdf332

View file

@ -0,0 +1,13 @@
$NetBSD: patch-ag,v 1.1 2006/09/24 15:33:54 joerg Exp $
--- quotatool.h.orig 2006-09-24 17:32:17.000000000 +0000
+++ quotatool.h
@@ -34,4 +34,8 @@
*/
+#if defined(__DragonFly__) && __DragonFly_version >= 160000
+#define dqblk ufs_dqblk
+#endif
+
typedef struct q_member {
char name[MAXLOGNAME];