ca0f0ce9f4
is missing, this package's configure script defines it on the command line and db4 also provides it as a typedef in db.h, and the two don't mix. This is a hack, but it should fix PR 42805.
18 lines
696 B
Text
18 lines
696 B
Text
$NetBSD: patch-ba,v 1.1 2010/07/31 21:09:14 dholland Exp $
|
|
|
|
Avoid conflict between configure script, which #defines u_int64_t on
|
|
the command line, and db.h, which provides it on platforms where it's
|
|
missing. PR 42805.
|
|
|
|
(Upstream ought to switch to using uint64_t and stdint.h.)
|
|
|
|
--- dns_resolv.c.orig 2009-01-13 04:42:46.000000000 +0000
|
|
+++ dns_resolv.c
|
|
@@ -61,6 +61,7 @@
|
|
#include <sys/stat.h>
|
|
#include <sys/time.h>
|
|
#include <sys/wait.h>
|
|
+#undef u_int64_t
|
|
#include <db.h> /* DB header ****************/
|
|
#include "webalizer.h" /* main header */
|
|
#include "lang.h" /* language declares */
|