summaryrefslogtreecommitdiffstats
path: root/contrib/bind/port
diff options
context:
space:
mode:
authornectar <nectar@FreeBSD.org>2002-02-04 19:12:46 +0000
committernectar <nectar@FreeBSD.org>2002-02-04 19:12:46 +0000
commit959a27bce7717b8e33fcc704a2213f0fb0af5dbc (patch)
treea8ae8a189a7aa0837b45684b21a280cefe64a03a /contrib/bind/port
parent609fda3cf4adeff5ec625c64cb805fcc8bf6f8c5 (diff)
parentebeabb1ba32f14e308ae9aff9a2a7151265259cf (diff)
downloadFreeBSD-src-959a27bce7717b8e33fcc704a2213f0fb0af5dbc.zip
FreeBSD-src-959a27bce7717b8e33fcc704a2213f0fb0af5dbc.tar.gz
This commit was generated by cvs2svn to compensate for changes in r90209,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/bind/port')
-rw-r--r--contrib/bind/port/freebsd/Makefile.set2
-rw-r--r--contrib/bind/port/freebsd/include/port_before.h14
2 files changed, 13 insertions, 3 deletions
diff --git a/contrib/bind/port/freebsd/Makefile.set b/contrib/bind/port/freebsd/Makefile.set
index fe256bc..c1c9bcf 100644
--- a/contrib/bind/port/freebsd/Makefile.set
+++ b/contrib/bind/port/freebsd/Makefile.set
@@ -1,5 +1,5 @@
'CC=cc'
-'CDEBUG=-O2 -g'
+'CDEBUG=-O2 -g -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat'
'DESTBIN=/usr/bin'
'DESTSBIN=/usr/sbin'
'DESTEXEC=/usr/libexec'
diff --git a/contrib/bind/port/freebsd/include/port_before.h b/contrib/bind/port/freebsd/include/port_before.h
index d90ba14..fe20b2a 100644
--- a/contrib/bind/port/freebsd/include/port_before.h
+++ b/contrib/bind/port/freebsd/include/port_before.h
@@ -1,5 +1,6 @@
#define WANT_IRS_NIS
#define WANT_IRS_PW
+#define HAVE_PW_CLASS
#define WANT_IRS_GR
#define SIG_FN void
#define HAS_PTHREADS
@@ -22,9 +23,11 @@
#define GROUP_R_END_RETURN void
#define GROUP_R_END_RESULT(x) /*empty*/
#define GROUP_R_ARGS char *buf, int buflen
-#undef GROUP_R_ENT_ARGS /*empty*/
+#define GROUP_R_ENT_ARGS void
#define GROUP_R_OK gptr
#define GROUP_R_BAD NULL
+#define GETGROUPLIST_ARGS const char *name, int basegid, int *groups, \
+ int *ngroups
#define HOST_R_RETURN struct hostent *
#define HOST_R_SET_RETURN void
@@ -55,7 +58,7 @@
#define NGR_R_SET_RETURN void
#undef NGR_R_SET_RESULT /*empty*/
#define NGR_R_END_RETURN void
-#undef NGR_R_END_RESULT /*empty*/
+#define NGR_R_END_RESULT(x) return
#define NGR_R_ARGS char *buf, int buflen
#undef NGR_R_ENT_ARGS /*empty*/
#define NGR_R_COPY buf, buflen
@@ -100,3 +103,10 @@
#define SERV_R_BAD NULL
#define IRS_LCL_SV_DB
+#define ISC_SOCKLEN_T int
+#ifdef __GNUC__
+#define ISC_FORMAT_PRINTF(fmt, args) \
+ __attribute__((__format__(__printf__, fmt, args)))
+#else
+#define ISC_FORMAT_PRINTF(fmt, args)
+#endif
OpenPOWER on IntegriCloud