summaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2002-11-03 10:16:46 +0000
committerDoug Barton <dougb@FreeBSD.org>2002-11-03 10:16:46 +0000
commit5dd6c6c5e959b7937e0f246f066689ac3d20071f (patch)
tree8e9d1e750402cf0ee2a94919584251a1d9a78cd2 /dns
parentFix dependency to rep-gtk (diff)
Handle the fact that -current defines pselect() already.
Notes
Notes: svn path=/head/; revision=69339
Diffstat (limited to 'dns')
-rw-r--r--dns/bind8/files/patch-src_port_freebsd_include_port_after.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/dns/bind8/files/patch-src_port_freebsd_include_port_after.h b/dns/bind8/files/patch-src_port_freebsd_include_port_after.h
new file mode 100644
index 000000000000..dbd2e584f3bd
--- /dev/null
+++ b/dns/bind8/files/patch-src_port_freebsd_include_port_after.h
@@ -0,0 +1,24 @@
+--- src/port/freebsd/include/port_after.h.Dist Sat Apr 27 18:12:45 2002
++++ src/port/freebsd/include/port_after.h Sun Nov 3 01:34:40 2002
+@@ -6,7 +6,6 @@
+ #define USE_WAITPID
+ #define HAVE_GETRUSAGE
+ #define HAVE_FCHMOD
+-#define NEED_PSELECT
+ #define HAVE_SA_LEN
+ #define HAVE_MINIMUM_IFREQ
+ #define USE_LOG_CONS
+@@ -21,6 +20,13 @@
+ #define KSYMS "/kernel"
+ #define KMEM "/dev/kmem"
+ #define UDPSUM "udpcksum"
++
++#if defined(__FreeBSD_version) && __FreeBSD_version >= 500041
++#undef NEED_PSELECT
++#include <sys/select.h>
++#else
++#define NEED_PSELECT
++#endif
+
+ #include <sys/types.h>
+ #include <sys/socket.h>