pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/25446: net/bind9 compilation problem



> -#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/



Home | Main Index | Thread Index | Old Index