aboutsummaryrefslogtreecommitdiffstats
path: root/dns/bind8
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2002-11-03 18:16:46 +0800
committerdougb <dougb@FreeBSD.org>2002-11-03 18:16:46 +0800
commite8fb49f3de78aec172552dc4e11f5e934e016c15 (patch)
tree529ddf38780cff2906eb51913fd6887099c48527 /dns/bind8
parent2429503c83448a2a6bea0f2cc70e1fed6fc37b2f (diff)
downloadfreebsd-ports-gnome-e8fb49f3de78aec172552dc4e11f5e934e016c15.tar.gz
freebsd-ports-gnome-e8fb49f3de78aec172552dc4e11f5e934e016c15.tar.zst
freebsd-ports-gnome-e8fb49f3de78aec172552dc4e11f5e934e016c15.zip
Handle the fact that -current defines pselect() already.
Diffstat (limited to 'dns/bind8')
-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>