From owner-svn-ports-all@freebsd.org Sun Jan 28 01:38:51 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ECC18ED1035; Sun, 28 Jan 2018 01:38:50 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9AA2284BDE; Sun, 28 Jan 2018 01:38:50 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 78B8112BEC; Sun, 28 Jan 2018 01:38:50 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w0S1co4b056651; Sun, 28 Jan 2018 01:38:50 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w0S1coPS056649; Sun, 28 Jan 2018 01:38:50 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201801280138.w0S1coPS056649@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Sun, 28 Jan 2018 01:38:50 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r460154 - in head/net/kea: . files X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: in head/net/kea: . files X-SVN-Commit-Revision: 460154 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jan 2018 01:38:51 -0000 Author: jbeich Date: Sun Jan 28 01:38:49 2018 New Revision: 460154 URL: https://svnweb.freebsd.org/changeset/ports/460154 Log: net/kea: unbreak with boost 1.66 PR: 224184 Submitted by: Bartłomiej Piotrowski Obtained from: Arch Linux (via upstream) Approved by: maintainer timeout (3 weeks) Added: head/net/kea/files/patch-asiolink-boost-1.66 (contents, props changed) Modified: head/net/kea/Makefile (contents, props changed) Modified: head/net/kea/Makefile ============================================================================== --- head/net/kea/Makefile Sun Jan 28 01:36:20 2018 (r460153) +++ head/net/kea/Makefile Sun Jan 28 01:38:49 2018 (r460154) @@ -15,7 +15,6 @@ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= liblog4cplus.so:devel/log4cplus \ libboost_system.so:devel/boost-libs -BROKEN= fails to build with boost 1.66, see bug 224184 BROKEN_powerpc64= fails to configure: checking for log4cplus library... no USES= autoreconf compiler:c++11-lang libtool pathfix python:3.3+ ssl Added: head/net/kea/files/patch-asiolink-boost-1.66 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/kea/files/patch-asiolink-boost-1.66 Sun Jan 28 01:38:49 2018 (r460154) @@ -0,0 +1,86 @@ +From 4fd11ef050438adeb1e0ae0d9d2d8ec3a2cb659c Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Bart=C5=82omiej=20Piotrowski?= +Date: Sat, 30 Dec 2017 14:40:24 +0100 +Subject: [PATCH] asiolink: fix build with boost 1.66 + +- use native_handle() for getting native socket type +- use io_context instead of io_service +--- + src/lib/asiolink/io_acceptor.h | 4 ++++ + src/lib/asiolink/io_service.h | 5 +++++ + src/lib/asiolink/tcp_socket.h | 4 ++++ + src/lib/asiolink/udp_socket.h | 4 ++++ + src/lib/asiolink/unix_domain_socket.cc | 4 ++++ + 5 files changed, 21 insertions(+) + +--- src/lib/asiolink/io_service.h.orig 2017-04-24 23:28:20 UTC ++++ src/lib/asiolink/io_service.h +@@ -11,7 +11,12 @@ + + namespace boost { + namespace asio { ++#if BOOST_VERSION < 106600 + class io_service; ++#else ++ class io_context; ++ typedef io_context io_service; ++#endif + } + } + +--- src/lib/asiolink/tcp_acceptor.h.orig 2017-04-24 23:28:20 UTC ++++ src/lib/asiolink/tcp_acceptor.h +@@ -44,7 +44,11 @@ class TCPAcceptor : public IOSocket { (public) + + /// @brief Returns file descriptor of the underlying socket. + virtual int getNative() const final { ++#if BOOST_VERSION < 106600 + return (acceptor_->native()); ++#else ++ return (acceptor_->native_handle()); ++#endif + } + + /// @brief Returns protocol of the socket. +--- src/lib/asiolink/tcp_socket.h.orig 2017-04-24 23:28:20 UTC ++++ src/lib/asiolink/tcp_socket.h +@@ -75,7 +75,11 @@ class TCPSocket : public IOAsioSocket { (public) + + /// \brief Return file descriptor of underlying socket + virtual int getNative() const { ++#if BOOST_VERSION < 106600 + return (socket_.native()); ++#else ++ return (socket_.native_handle()); ++#endif + } + + /// \brief Return protocol of socket +--- src/lib/asiolink/udp_socket.h.orig 2017-04-24 23:28:20 UTC ++++ src/lib/asiolink/udp_socket.h +@@ -61,7 +61,11 @@ class UDPSocket : public IOAsioSocket { (public) + + /// \brief Return file descriptor of underlying socket + virtual int getNative() const { ++#if BOOST_VERSION < 106600 + return (socket_.native()); ++#else ++ return (socket_.native_handle()); ++#endif + } + + /// \brief Return protocol of socket +--- src/lib/asiolink/unix_domain_socket.cc.orig 2017-04-24 23:28:20 UTC ++++ src/lib/asiolink/unix_domain_socket.cc +@@ -48,7 +48,11 @@ UnixDomainSocket::UnixDomainSocket(IOService& io_servi + + int + UnixDomainSocket::getNative() const { ++#if BOOST_VERSION < 106600 + return (impl_->socket_.native()); ++#else ++ return (impl_->socket_.native_handle()); ++#endif + } + + int