$NetBSD: patch-aa,v 1.3 2005/03/26 05:19:20 christos Exp $

--- port.h.orig	2003-06-04 21:00:07.000000000 -0400
+++ port.h	2005-03-24 16:00:55.000000000 -0500
@@ -154,7 +154,8 @@
  */
 #if defined(__NAMESER) && (!defined(__GLIBC__) || ((__RES - 0) > 19991006)) && \
 	((__NAMESER - 0) >= 19991006 || \
-	 (defined(__FreeBSD__) && (__NAMESER - 0) >= 19961001))
+	 (defined(__FreeBSD__) && (__NAMESER - 0) >= 19961001)) && \
+	 !defined(__NetBSD__)
 # define HAVE_GETIPNODEBYNAME	1
 # define HAVE_GETIPNODEBYADDR	1
 # define HAVE_FREEHOSTENT	1
