pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/25446: net/bind9 compilation problem
>Number: 25446
>Category: pkg
>Synopsis: bind9 does not compile because declaration of gettimeofday()
>disagrees with <sys/time.h>
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon May 03 10:17:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: John R. Shannon
>Release: NetBSD 2.0E
>Organization:
johnrshannon.com
>Environment:
System: NetBSD colleen.internal.johnrshannon.com 2.0E NetBSD 2.0E (KERNEL) #1:
Fri Apr 30 03:30:28 MDT 2004
root%colleen.internal.johnrshannon.com@localhost:/usr/obj/usr/src/sys/arch/i386/compile/KERNEL
i386
Architecture: i386
Machine: i386
>Description:
bind9 does not compile because declaration of gettimeofday() disagrees
with <sys/time.h>
>How-To-Repeat:
>Fix:
bind9 only needs to declare gettimeofday() if configure does not find
it:
$NetBSD$
--- lib/bind/port_after.h.in.orig 2003-06-26 21:51:35.000000000 -0600
+++ lib/bind/port_after.h.in
@@ -358,11 +358,9 @@ void endpwent_r(void);
int setpassent(int stayopen);
#endif
-#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
int getnetgrent(char **machinep, char **userp, char **domainp);
>Release-Note:
>Audit-Trail:
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index