svn commit: r463371 - head/net/kea/files
Hiroki Sato
hrs at FreeBSD.org
Fri Mar 2 05:26:38 UTC 2018
Author: hrs
Date: Fri Mar 2 05:26:37 2018
New Revision: 463371
URL: https://svnweb.freebsd.org/changeset/ports/463371
Log:
Fix build.
PR: 226272
Added:
head/net/kea/files/patch-src-lib-asiolink-io_acceptor.h (contents, props changed)
Added: head/net/kea/files/patch-src-lib-asiolink-io_acceptor.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/kea/files/patch-src-lib-asiolink-io_acceptor.h Fri Mar 2 05:26:37 2018 (r463371)
@@ -0,0 +1,14 @@
+--- src/lib/asiolink/io_acceptor.h.orig 2017-10-05 13:00:03 UTC
++++ src/lib/asiolink/io_acceptor.h
+@@ -47,7 +47,11 @@ public:
+
+ /// @brief Returns file descriptor of the underlying socket.
+ virtual int getNative() const {
++#if BOOST_VERSION < 106600
+ return (acceptor_->native());
++#else
++ return (acceptor_->native_handle());
++#endif
+ }
+
+ /// @brief Opens acceptor socket given the endpoint.
More information about the svn-ports-head
mailing list