Subject: Re: pkg/25446: net/bind9 compilation problem
To: None <pkgsrc-bugs@netbsd.org>
From: Wolfgang S. Rupprecht <wolfgang+gnus20040503T120510@dailyplanet.dontspam.wsrcc.com>
List: pkgsrc-bugs
Date: 05/03/2004 12:07:09
> -#define gettimeofday isc__gettimeofday
>  #ifdef NEED_GETTIMEOFDAY
> +#define gettimeofday isc__gettimeofday
>  int isc__gettimeofday(struct timeval *tvp, struct _TIMEZONE *tzp);
> -#else
> -int isc__gettimeofday(struct timeval *tp, struct timezone *tzp);
>  #endif

Is isc__gettimeofday() really needed at all?  I commented out the
"#define gettimeofday isc__gettimeofday" and let bind use the native
netbsd gettimeofday().  It compiled and ran just fine.

-wolfgang
-- 
Wolfgang S. Rupprecht 		     http://www.wsrcc.com/wolfgang/