From owner-svn-ports-head@freebsd.org Thu Nov 14 00:43:37 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id ADE5B1C26FF; Thu, 14 Nov 2019 00:43:37 +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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47D2ls2V6Vz4WTL; Thu, 14 Nov 2019 00:43:37 +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 3A47120615; Thu, 14 Nov 2019 00:43:37 +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 xAE0hb5G095213; Thu, 14 Nov 2019 00:43:37 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id xAE0hbuc095212; Thu, 14 Nov 2019 00:43:37 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201911140043.xAE0hbuc095212@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Thu, 14 Nov 2019 00:43:37 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r517544 - head/net-p2p/libtorrent-rasterbar/files X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: head/net-p2p/libtorrent-rasterbar/files X-SVN-Commit-Revision: 517544 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Nov 2019 00:43:37 -0000 Author: jbeich Date: Thu Nov 14 00:43:36 2019 New Revision: 517544 URL: https://svnweb.freebsd.org/changeset/ports/517544 Log: net-p2p/libtorrent-rasterbar: unbreak with boost 1.72 In file included from src/http_connection.cpp:33: In file included from include/libtorrent/http_connection.hpp:62: In file included from include/libtorrent/socket.hpp:57: In file included from /usr/local/include/boost/asio/write.hpp:1262: /usr/local/include/boost/asio/impl/write.hpp:425:40: error: no type named 'executor_type' in 'libtorrent::socket_type' typedef typename AsyncWriteStream::executor_type executor_type; ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/local/include/boost/asio/impl/write.hpp:534:7: note: in instantiation of template class 'boost::asio::detail::initiate_async_write_buffer_sequence' requested here detail::initiate_async_write_buffer_sequence(s), ^ src/http_connection.cpp:277:3: note: in instantiation of function template specialization 'boost::asio::async_write, boost::_bi::list2 >, boost::arg<1> > > >' requested here async_write(m_sock, boost::asio::buffer(m_sendbuffer) ^ src/http_connection.cpp:631:3: error: no matching function for call to 'async_write' async_write(m_sock, boost::asio::buffer(m_sendbuffer) ^~~~~~~~~~~ /usr/local/include/boost/asio/impl/write.hpp:507:1: note: candidate template ignored: substitution failure [with AsyncWriteStream = libtorrent::socket_type, ConstBufferSequence = boost::asio::mutable_buffers_1, CompletionCondition = boost::_bi::bind_t, boost::_bi::list2 >, boost::arg<1> > >]: no type named 'executor_type' in 'libtorrent::socket_type' async_write(AsyncWriteStream& s, const ConstBufferSequence& buffers, ^ /usr/local/include/boost/asio/impl/write.hpp:526:1: note: candidate template ignored: substitution failure [with AsyncWriteStream = libtorrent::socket_type, ConstBufferSequence = boost::asio::mutable_buffers_1, WriteHandler = boost::_bi::bind_t, boost::_bi::list2 >, boost::arg<1> > >] async_write(AsyncWriteStream& s, const ConstBufferSequence& buffers, ^ /usr/local/include/boost/asio/impl/write.hpp:739:1: note: candidate template ignored: requirement 'is_dynamic_buffer_v1::type>::value' was not satisfied [with AsyncWriteStream = libtorrent::socket_type, DynamicBuffer_v1 = boost::asio::mutable_buffers_1, WriteHandler = boost::_bi::bind_t, boost::_bi::list2 >, boost::arg<1> > >] async_write(AsyncWriteStream& s, ^ /usr/local/include/boost/asio/impl/write.hpp:758:1: note: candidate template ignored: substitution failure [with AsyncWriteStream = libtorrent::socket_type, DynamicBuffer_v1 = boost::asio::mutable_buffers_1, CompletionCondition = boost::_bi::bind_t, boost::_bi::list2 >, boost::arg<1> > >]: no type named 'executor_type' in 'libtorrent::socket_type' async_write(AsyncWriteStream& s, ^ /usr/local/include/boost/asio/impl/write.hpp:782:1: note: candidate template ignored: could not match 'basic_streambuf' against 'boost::asio::mutable_buffers_1' async_write(AsyncWriteStream& s, ^ /usr/local/include/boost/asio/impl/write.hpp:796:1: note: candidate template ignored: could not match 'basic_streambuf' against 'boost::asio::mutable_buffers_1' async_write(AsyncWriteStream& s, ^ /usr/local/include/boost/asio/impl/write.hpp:1009:1: note: candidate template ignored: requirement 'is_dynamic_buffer_v2::value' was not satisfied [with AsyncWriteStream = libtorrent::socket_type, DynamicBuffer_v2 = boost::asio::mutable_buffers_1, WriteHandler = boost::_bi::bind_t, boost::_bi::list2 >, boost::arg<1> > >] async_write(AsyncWriteStream& s, DynamicBuffer_v2 buffers, ^ /usr/local/include/boost/asio/impl/write.hpp:1026:1: note: candidate template ignored: substitution failure [with AsyncWriteStream = libtorrent::socket_type, DynamicBuffer_v2 = boost::asio::mutable_buffers_1, CompletionCondition = boost::_bi::bind_t, boost::_bi::list2 >, boost::arg<1> > >]: no type named 'executor_type' in 'libtorrent::socket_type' async_write(AsyncWriteStream& s, DynamicBuffer_v2 buffers, ^ Obtained from: upstream Added: head/net-p2p/libtorrent-rasterbar/files/patch-boost-1.72 (contents, props changed) Added: head/net-p2p/libtorrent-rasterbar/files/patch-boost-1.72 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-p2p/libtorrent-rasterbar/files/patch-boost-1.72 Thu Nov 14 00:43:36 2019 (r517544) @@ -0,0 +1,15 @@ +https://github.com/arvidn/libtorrent/commit/e4b812b50b0a + +--- include/libtorrent/socket_type.hpp.orig 2018-10-05 09:19:18 UTC ++++ include/libtorrent/socket_type.hpp +@@ -192,6 +192,10 @@ namespace libtorrent + typedef tcp::socket::receive_buffer_size receive_buffer_size; + typedef tcp::socket::send_buffer_size send_buffer_size; + ++#if BOOST_VERSION >= 106600 ++ using executor_type = tcp::socket::executor_type; ++#endif ++ + explicit socket_type(io_service& ios): m_io_service(ios), m_type(0) {} + ~socket_type(); +