Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Oct 2018 20:26:29 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r482779 - head/net-p2p/libtorrent-rasterbar/files
Message-ID:  <201810222026.w9MKQTSE096834@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Mon Oct 22 20:26:29 2018
New Revision: 482779
URL: https://svnweb.freebsd.org/changeset/ports/482779

Log:
  net-p2p/libtorrent-rasterbar: unbreak with boost 1.69
  
  In file included from include/libtorrent/chained_buffer.hpp:37:
  include/libtorrent/disk_io_job.hpp:78:12: error: expected class name
                  , boost::noncopyable
                           ^
  In file included from src/http_stream.cpp:33:
  In file included from include/libtorrent/http_stream.hpp:44:
  include/libtorrent/proxy_base.hpp:49:20: error: unknown class name 'noncopyable'; did you mean 'boost::asio::noncopyable'?
  class proxy_base : boost::noncopyable
                     ^~~~~~~~~~~~~~~~~~
                     boost::asio::noncopyable
  /usr/local/include/boost/asio/detail/noncopyable.hpp:38:28: note: 'boost::asio::noncopyable' declared here
  using boost::asio::detail::noncopyable;
                             ^
  In file included from src/session.cpp:58:
  include/libtorrent/tracker_manager.hpp:274:5: error: unknown class name 'noncopyable'; did you mean 'boost::asio::noncopyable'?
                  , boost::noncopyable
                    ^~~~~~~~~~~~~~~~~~
                    boost::asio::noncopyable
  /usr/local/include/boost/asio/detail/noncopyable.hpp:38:28: note: 'boost::asio::noncopyable' declared here
  using boost::asio::detail::noncopyable;
                             ^
  In file included from src/session.cpp:58:
  include/libtorrent/tracker_manager.hpp:363:5: error: unknown class name 'noncopyable'; did you mean 'boost::asio::noncopyable'?
                  , boost::noncopyable
                    ^~~~~~~~~~~~~~~~~~
                    boost::asio::noncopyable
  /usr/local/include/boost/asio/detail/noncopyable.hpp:38:28: note: 'boost::asio::noncopyable' declared here
  using boost::asio::detail::noncopyable;
                             ^
  src/kademlia/dht_storage.cpp:186:74: error: unknown class name 'noncopyable'; did you mean 'boost::asio::noncopyable'?
          class dht_default_storage TORRENT_FINAL : public dht_storage_interface, boost::noncopyable
                                                                                  ^~~~~~~~~~~~~~~~~~
                                                                                  boost::asio::noncopyable
  /usr/local/include/boost/asio/detail/noncopyable.hpp:38:28: note: 'boost::asio::noncopyable' declared here
  using boost::asio::detail::noncopyable;
                             ^
  
  In file included from include/libtorrent/kademlia/rpc_manager.hpp:56:
  include/libtorrent/kademlia/observer.hpp:60:40: error: unknown class name 'noncopyable'; did you mean 'boost::asio::noncopyable'?
  struct TORRENT_EXTRA_EXPORT observer : boost::noncopyable
                                         ^~~~~~~~~~~~~~~~~~
                                         boost::asio::noncopyable
  /usr/local/include/boost/asio/detail/noncopyable.hpp:38:28: note: 'boost::asio::noncopyable' declared here
  using boost::asio::detail::noncopyable;
                             ^
  
  PR:		232525

Added:
  head/net-p2p/libtorrent-rasterbar/files/patch-boost-1.69   (contents, props changed)

Added: head/net-p2p/libtorrent-rasterbar/files/patch-boost-1.69
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-p2p/libtorrent-rasterbar/files/patch-boost-1.69	Mon Oct 22 20:26:29 2018	(r482779)
@@ -0,0 +1,52 @@
+https://github.com/arvidn/libtorrent/issues/3378
+
+--- include/libtorrent/disk_io_job.hpp.orig	2018-10-05 09:19:18 UTC
++++ include/libtorrent/disk_io_job.hpp
+@@ -42,6 +42,7 @@ POSSIBILITY OF SUCH DAMAGE.
+ 
+ #include <string>
+ #include <boost/function/function1.hpp>
++#include <boost/noncopyable.hpp>
+ #include <boost/shared_ptr.hpp>
+ #include <boost/shared_ptr.hpp>
+ 
+--- include/libtorrent/kademlia/observer.hpp.orig	2018-10-05 09:19:18 UTC
++++ include/libtorrent/kademlia/observer.hpp
+@@ -38,6 +38,7 @@ POSSIBILITY OF SUCH DAMAGE.
+ 
+ #include "libtorrent/aux_/disable_warnings_push.hpp"
+ 
++#include <boost/noncopyable.hpp>
+ #include <boost/pool/pool.hpp>
+ #include <boost/detail/atomic_count.hpp>
+ #include <boost/intrusive_ptr.hpp>
+--- include/libtorrent/proxy_base.hpp.orig	2018-10-05 09:19:18 UTC
++++ include/libtorrent/proxy_base.hpp
+@@ -41,6 +41,7 @@ POSSIBILITY OF SUCH DAMAGE.
+ 
+ #include "libtorrent/aux_/disable_warnings_push.hpp"
+ #include <boost/function/function1.hpp>
++#include <boost/noncopyable.hpp>
+ #include <boost/shared_ptr.hpp>
+ #include "libtorrent/aux_/disable_warnings_pop.hpp"
+ 
+--- include/libtorrent/tracker_manager.hpp.orig	2018-10-05 09:19:21 UTC
++++ include/libtorrent/tracker_manager.hpp
+@@ -43,6 +43,7 @@ POSSIBILITY OF SUCH DAMAGE.
+ #include <utility>
+ #include <ctime>
+ 
++#include <boost/noncopyable.hpp>
+ #include <boost/shared_ptr.hpp>
+ #include <boost/enable_shared_from_this.hpp>
+ #include <boost/cstdint.hpp>
+--- src/kademlia/dht_storage.cpp.orig	2018-10-05 09:19:18 UTC
++++ src/kademlia/dht_storage.cpp
+@@ -37,6 +37,7 @@ POSSIBILITY OF SUCH DAMAGE.
+ #include <utility>
+ #include <boost/bind.hpp>
+ #include <boost/function/function1.hpp>
++#include <boost/noncopyable.hpp>
+ #include <boost/tuple/tuple.hpp>
+ 
+ #include "libtorrent/aux_/disable_warnings_pop.hpp"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810222026.w9MKQTSE096834>