Here's a patch for bind's port/freebsd/include/port_before.h .

--- port_before.h.orig  Tue Feb 26 20:57:35 2002
+++ port_before.h       Tue Feb 26 21:02:18 2002
@@ -15,6 +15,7 @@
 #define SETPWENT_VOID
 #endif
 
+#include <sys/param.h>
 #include <sys/types.h>
 
 #define GROUP_R_RETURN struct group *
@@ -26,8 +27,13 @@
 #define GROUP_R_ENT_ARGS void
 #define GROUP_R_OK gptr
 #define GROUP_R_BAD NULL
+#if __FreeBSD_version < 500029
 #define GETGROUPLIST_ARGS const char *name, int basegid, int *groups, \
                          int *ngroups
+#else
+#define GETGROUPLIST_ARGS const char *name, gid_t basegid, gid_t *groups, \
+                         int *ngroups
+#endif
 
 #define HOST_R_RETURN struct hostent *
 #define HOST_R_SET_RETURN void

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to