head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.10 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.8 pkgsrc-2012Q4-base:1.2 pkgsrc-2011Q4:1.2.0.6 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q2:1.2.0.4 pkgsrc-2011Q2-base:1.2 pkgsrc-2009Q4:1.2.0.2 pkgsrc-2009Q4-base:1.2 pkgsrc-2008Q4:1.1.0.10 pkgsrc-2008Q4-base:1.1 pkgsrc-2008Q3:1.1.0.8 pkgsrc-2008Q3-base:1.1 cube-native-xorg:1.1.0.6 cube-native-xorg-base:1.1 pkgsrc-2008Q2:1.1.0.4 pkgsrc-2008Q2-base:1.1 cwrapper:1.1.0.2; locks; strict; comment @# @; 1.2 date 2009.01.04.00.25.28; author adrianp; state dead; branches; next 1.1; 1.1 date 2008.06.21.20.01.59; author joerg; state Exp; branches; next ; desc @@ 1.2 log @Nuke BIND 8.x as discussed on pkgsrc-users@@ @ text @$NetBSD: patch-ap,v 1.1 2008/06/21 20:01:59 joerg Exp $ --- src/port/netbsd/include/port_after.h.orig 2003-04-24 03:55:37.000000000 +0000 +++ src/port/netbsd/include/port_after.h @@@@ -6,7 +6,6 @@@@ #define USE_WAITPID #define HAVE_GETRUSAGE #define HAVE_FCHMOD -#define NEED_PSELECT #define SETGRENT_VOID #define SETPWENT_VOID #define HAVE_SA_LEN @@@@ -45,6 +44,14 @@@@ #include #endif +#if !defined(__NetBSD_Version__) || __NetBSD_Version__ < 300000000 +#define NEED_PSELECT +#endif + +#if !defined(__NetBSD_Version__) || __NetBSD_Version__ >= 400000000 +#define HAVE_STRNDUP +#endif + /* * We need to know the IPv6 address family number even on IPv4-only systems. * Note that this is NOT a protocol constant, and that if the system has its @ 1.1 log @Fix build on newer NetBSD. @ text @d1 1 a1 1 $NetBSD$ @