From 1f1fe1222d35cb193484c5cadd14cb8eb5384138 Mon Sep 17 00:00:00 2001 From: "Ralf S. Engelschall" Date: Mon, 13 Jan 2003 13:57:54 +0000 Subject: [PATCH] port to FreeBSD 5.0 --- bind8/bind.patch | 20 ++++++++++++++++++++ bind8/bind8.spec | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/bind8/bind.patch b/bind8/bind.patch index bea0d921c5..294b937de1 100644 --- a/bind8/bind.patch +++ b/bind8/bind.patch @@ -50,3 +50,23 @@ /* Couldn't free it before now since we were using fields out of it. */ FREE(del); +--- src/port/freebsd/include/port_after.h.orig Mon Jan 13 14:08:51 2003 ++++ src/port/freebsd/include/port_after.h Mon Jan 13 14:09:39 2003 +@@ -6,12 +6,16 @@ + #define USE_WAITPID + #define HAVE_GETRUSAGE + #define HAVE_FCHMOD +-#define NEED_PSELECT + #define HAVE_SA_LEN + #define HAVE_MINIMUM_IFREQ + #define USE_LOG_CONS + #define HAVE_CHROOT + #define CAN_CHANGE_ID ++ ++#include ++#if __FreeBSD_version < 500000 ++#define NEED_PSELECT ++#endif + + #define _TIMEZONE timezone + diff --git a/bind8/bind8.spec b/bind8/bind8.spec index c712e1d517..f726426486 100644 --- a/bind8/bind8.spec +++ b/bind8/bind8.spec @@ -33,7 +33,7 @@ Distribution: OpenPKG [PLUS] Group: DNS License: GPL Version: 8.3.4 -Release: 20021217 +Release: 20030113 # list of sources Source0: ftp://ftp.isc.org/isc/bind/src/%{version}/bind-src.tar.gz