Browse Source

port to FreeBSD 5.0

master
parent
commit
1f1fe1222d
  1. 20
      bind8/bind.patch
  2. 2
      bind8/bind8.spec

20
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 <osreldate.h>
+#if __FreeBSD_version < 500000
+#define NEED_PSELECT
+#endif
#define _TIMEZONE timezone

2
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

Loading…
Cancel
Save