Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] package/libtorrent-rasterbar: bump to version 1.2.0
@ 2019-04-18 12:44 Fabrice Fontaine
  2019-04-18 12:44 ` [Buildroot] [PATCH 2/2] package/libtorrent-rasterbar: fix build with boost 1.70.0 Fabrice Fontaine
  2019-04-20 14:04 ` [Buildroot] [PATCH 1/2] package/libtorrent-rasterbar: bump to version 1.2.0 Thomas Petazzoni
  0 siblings, 2 replies; 4+ messages in thread
From: Fabrice Fontaine @ 2019-04-18 12:44 UTC (permalink / raw)
  To: buildroot

- Drop boost-chrono, replaced by std::chrono since
  https://github.com/arvidn/libtorrent/commit/78bc2698327069aa69ff7460b9314cbe45bd4d66
- Drop boost random, replace by standard number classes since
  https://github.com/arvidn/libtorrent/commit/fef94a4c5254e2280b601ab3ea211cc0193fecaa
- Add two patches to fix build on uclibc
- Needs exception_ptr since
  https://github.com/arvidn/libtorrent/commit/5c361715da9d20d63b019d7fc4ce772cdecd7138

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 .../0001-add-missing-cstdarg-include.patch    | 37 +++++++++++++++++++
 .../0002-buffer.hpp-fix-build-on-uclibc.patch | 29 +++++++++++++++
 package/libtorrent-rasterbar/Config.in        |  8 +++-
 .../libtorrent-rasterbar.hash                 |  2 +-
 .../libtorrent-rasterbar.mk                   |  2 +-
 5 files changed, 74 insertions(+), 4 deletions(-)
 create mode 100644 package/libtorrent-rasterbar/0001-add-missing-cstdarg-include.patch
 create mode 100644 package/libtorrent-rasterbar/0002-buffer.hpp-fix-build-on-uclibc.patch

diff --git a/package/libtorrent-rasterbar/0001-add-missing-cstdarg-include.patch b/package/libtorrent-rasterbar/0001-add-missing-cstdarg-include.patch
new file mode 100644
index 0000000000..f5fc693ab4
--- /dev/null
+++ b/package/libtorrent-rasterbar/0001-add-missing-cstdarg-include.patch
@@ -0,0 +1,37 @@
+From bfc579e61f9c6dd69a024ef6e2f9287abb40603f Mon Sep 17 00:00:00 2001
+From: arvidn <arvid@libtorrent.org>
+Date: Sun, 20 Jan 2019 18:03:38 +0100
+Subject: [PATCH] add missing cstdarg include
+
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+[Retrieved from:
+https://github.com/arvidn/libtorrent/commit/bfc579e61f9c6dd69a024ef6e2f9287abb40603f]
+---
+ include/libtorrent/alert_types.hpp     | 1 +
+ include/libtorrent/stack_allocator.hpp | 1 +
+ 2 files changed, 2 insertions(+)
+
+diff --git a/include/libtorrent/alert_types.hpp b/include/libtorrent/alert_types.hpp
+index 12d4091e75..090c48c8cd 100644
+--- a/include/libtorrent/alert_types.hpp
++++ b/include/libtorrent/alert_types.hpp
+@@ -60,6 +60,7 @@ POSSIBILITY OF SUCH DAMAGE.
+ #include "libtorrent/aux_/disable_warnings_pop.hpp"
+ 
+ #include <bitset>
++#include <cstdarg> // for va_list
+ 
+ #if TORRENT_ABI_VERSION == 1
+ #define PROGRESS_NOTIFICATION | alert::progress_notification
+diff --git a/include/libtorrent/stack_allocator.hpp b/include/libtorrent/stack_allocator.hpp
+index 9e83ac52e7..8fa7a98708 100644
+--- a/include/libtorrent/stack_allocator.hpp
++++ b/include/libtorrent/stack_allocator.hpp
+@@ -39,6 +39,7 @@ POSSIBILITY OF SUCH DAMAGE.
+ #include "libtorrent/aux_/vector.hpp"
+ #include "libtorrent/aux_/numeric_cast.hpp"
+ 
++#include <cstdarg> // for va_list
+ #include <cstdio> // for vsnprintf
+ #include <cstring>
+ 
diff --git a/package/libtorrent-rasterbar/0002-buffer.hpp-fix-build-on-uclibc.patch b/package/libtorrent-rasterbar/0002-buffer.hpp-fix-build-on-uclibc.patch
new file mode 100644
index 0000000000..4957984825
--- /dev/null
+++ b/package/libtorrent-rasterbar/0002-buffer.hpp-fix-build-on-uclibc.patch
@@ -0,0 +1,29 @@
+From a2c7f19ad414879d5354ef6ca98acf80a5005ab3 Mon Sep 17 00:00:00 2001
+From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+Date: Thu, 18 Apr 2019 14:30:16 +0200
+Subject: [PATCH] buffer.hpp: fix build on uclibc
+
+malloc_usable_size is not available on uclibc
+
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+[Upstream status: not sent yet]
+---
+ include/libtorrent/buffer.hpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/include/libtorrent/buffer.hpp b/include/libtorrent/buffer.hpp
+index 3af5ef24f..785e7cfd8 100644
+--- a/include/libtorrent/buffer.hpp
++++ b/include/libtorrent/buffer.hpp
+@@ -85,7 +85,7 @@ public:
+ 
+ 		// the actual allocation may be larger than we requested. If so, let the
+ 		// user take advantage of every single byte
+-#if defined __GLIBC__ || defined __FreeBSD__
++#if (defined __GLIBC__ && !defined __UCLIBC__) || defined __FreeBSD__
+ 		m_size = static_cast<difference_type>(::malloc_usable_size(m_begin));
+ #elif defined _MSC_VER
+ 		m_size = static_cast<difference_type>(::_msize(m_begin));
+-- 
+2.20.1
+
diff --git a/package/libtorrent-rasterbar/Config.in b/package/libtorrent-rasterbar/Config.in
index 6c55085947..8c259e113e 100644
--- a/package/libtorrent-rasterbar/Config.in
+++ b/package/libtorrent-rasterbar/Config.in
@@ -1,8 +1,13 @@
 comment "libtorrent-rasterbar needs a toolchain w/ C++, threads, wchar, gcc >= 4.8"
 	depends on BR2_TOOLCHAIN_SUPPORTS_VARIADIC_MI_THUNK
+	depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735
 	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || \
 		!BR2_HOST_GCC_AT_LEAST_4_8 || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
 
+comment "libtorrent-rasterbar needs exception_ptr"
+	depends on BR2_TOOLCHAIN_SUPPORTS_VARIADIC_MI_THUNK
+	depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
+
 config BR2_PACKAGE_LIBTORRENT_RASTERBAR
 	bool "libtorrent-rasterbar"
 	depends on BR2_INSTALL_LIBSTDCPP # boost
@@ -11,10 +16,9 @@ config BR2_PACKAGE_LIBTORRENT_RASTERBAR
 	depends on BR2_TOOLCHAIN_HAS_THREADS # boost
 	depends on BR2_TOOLCHAIN_SUPPORTS_VARIADIC_MI_THUNK
 	depends on BR2_USE_WCHAR # boost
+	depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # exception_ptr
 	select BR2_PACKAGE_BOOST
-	select BR2_PACKAGE_BOOST_CHRONO
 	select BR2_PACKAGE_BOOST_SYSTEM
-	select BR2_PACKAGE_BOOST_RANDOM
 	select BR2_PACKAGE_OPENSSL
 	help
 	  libtorrent is a feature complete C++ bittorrent implementation
diff --git a/package/libtorrent-rasterbar/libtorrent-rasterbar.hash b/package/libtorrent-rasterbar/libtorrent-rasterbar.hash
index e38c0f4f1d..f462a7b701 100644
--- a/package/libtorrent-rasterbar/libtorrent-rasterbar.hash
+++ b/package/libtorrent-rasterbar/libtorrent-rasterbar.hash
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256 7c23deba7fa279825642307587609d51c9935ac7606e0ef2f2d0ba10728b5847 libtorrent-rasterbar-1.1.11.tar.gz
+sha256 428eefcf6a603abc0dc87e423dbd60caa00795ece07696b65f8ee8bceaa37c30 libtorrent-rasterbar-1.2.0.tar.gz
 sha256 f3a5dd1558cce616b12edad521427ec8976ce2bb0af33f7f359cfa648bf55ad8 COPYING
diff --git a/package/libtorrent-rasterbar/libtorrent-rasterbar.mk b/package/libtorrent-rasterbar/libtorrent-rasterbar.mk
index 24bd011ae7..9164c343c6 100644
--- a/package/libtorrent-rasterbar/libtorrent-rasterbar.mk
+++ b/package/libtorrent-rasterbar/libtorrent-rasterbar.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LIBTORRENT_RASTERBAR_VERSION = 1.1.11
+LIBTORRENT_RASTERBAR_VERSION = 1.2.0
 LIBTORRENT_RASTERBAR_SITE = https://github.com/arvidn/libtorrent/releases/download/libtorrent_$(subst .,_,$(LIBTORRENT_RASTERBAR_VERSION))
 LIBTORRENT_RASTERBAR_LICENSE = BSD-3-Clause
 LIBTORRENT_RASTERBAR_LICENSE_FILES = COPYING
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 2/2] package/libtorrent-rasterbar: fix build with boost 1.70.0
  2019-04-18 12:44 [Buildroot] [PATCH 1/2] package/libtorrent-rasterbar: bump to version 1.2.0 Fabrice Fontaine
@ 2019-04-18 12:44 ` Fabrice Fontaine
  2019-04-20 14:04   ` Thomas Petazzoni
  2019-04-20 14:04 ` [Buildroot] [PATCH 1/2] package/libtorrent-rasterbar: bump to version 1.2.0 Thomas Petazzoni
  1 sibling, 1 reply; 4+ messages in thread
From: Fabrice Fontaine @ 2019-04-18 12:44 UTC (permalink / raw)
  To: buildroot

Fixes:
 - http://autobuild.buildroot.org/results/dc21322e101cbd242a22018f4d506b9f2c26dd33

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 .../0003-fix-build-with-boost-1.70.0.patch    | 267 ++++++++++++++++++
 1 file changed, 267 insertions(+)
 create mode 100644 package/libtorrent-rasterbar/0003-fix-build-with-boost-1.70.0.patch

diff --git a/package/libtorrent-rasterbar/0003-fix-build-with-boost-1.70.0.patch b/package/libtorrent-rasterbar/0003-fix-build-with-boost-1.70.0.patch
new file mode 100644
index 0000000000..133857cd9a
--- /dev/null
+++ b/package/libtorrent-rasterbar/0003-fix-build-with-boost-1.70.0.patch
@@ -0,0 +1,267 @@
+From 93c56656fbeba3cf06e644bc36b3c3598c6b23f3 Mon Sep 17 00:00:00 2001
+From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+Date: Thu, 18 Apr 2019 11:27:43 +0200
+Subject: [PATCH] fix build with boost 1.70.0
+
+Fix #3683
+
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+[Upstream status: https://github.com/arvidn/libtorrent/pull/3787]
+---
+ include/libtorrent/config.hpp          |  9 +++++++++
+ include/libtorrent/proxy_base.hpp      |  2 +-
+ include/libtorrent/tracker_manager.hpp |  2 +-
+ include/libtorrent/udp_socket.hpp      |  2 +-
+ src/disk_io_thread_pool.cpp            |  2 +-
+ src/http_connection.cpp                | 16 ++++++++--------
+ src/kademlia/dht_tracker.cpp           |  2 +-
+ src/lsd.cpp                            |  4 ++--
+ src/natpmp.cpp                         |  6 +++---
+ src/udp_socket.cpp                     |  2 +-
+ src/upnp.cpp                           |  2 +-
+ 11 files changed, 29 insertions(+), 20 deletions(-)
+
+diff --git a/include/libtorrent/config.hpp b/include/libtorrent/config.hpp
+index 9ddcdb94a..59733065d 100644
+--- a/include/libtorrent/config.hpp
++++ b/include/libtorrent/config.hpp
+@@ -38,6 +38,7 @@ POSSIBILITY OF SUCH DAMAGE.
+ #define _FILE_OFFSET_BITS 64
+ 
+ #include <boost/config.hpp>
++#include <boost/version.hpp>
+ 
+ #include "libtorrent/aux_/disable_warnings_pop.hpp"
+ 
+@@ -56,6 +57,14 @@ POSSIBILITY OF SUCH DAMAGE.
+ #pragma GCC diagnostic ignored "-Wformat-extra-args"
+ #endif
+ 
++// ====== BOOST ========
++
++#if BOOST_VERSION >= 107000
++#define GET_IO_SERVICE(s) ((boost::asio::io_context&)(s).get_executor().context())
++#else
++#define GET_IO_SERVICE(s) ((s).get_io_service())
++#endif
++
+ // ====== CLANG ========
+ 
+ #if defined __clang__
+diff --git a/include/libtorrent/proxy_base.hpp b/include/libtorrent/proxy_base.hpp
+index 344c23097..d7aa1d45d 100644
+--- a/include/libtorrent/proxy_base.hpp
++++ b/include/libtorrent/proxy_base.hpp
+@@ -246,7 +246,7 @@ public:
+ 
+ 	io_service& get_io_service()
+ 	{
+-		return m_sock.get_io_service();
++		return GET_IO_SERVICE(m_sock);
+ 	}
+ 
+ 	lowest_layer_type& lowest_layer()
+diff --git a/include/libtorrent/tracker_manager.hpp b/include/libtorrent/tracker_manager.hpp
+index 86331adbc..dfed6b9f5 100644
+--- a/include/libtorrent/tracker_manager.hpp
++++ b/include/libtorrent/tracker_manager.hpp
+@@ -259,7 +259,7 @@ namespace libtorrent {
+ 		virtual void on_timeout(error_code const& ec) = 0;
+ 		virtual ~timeout_handler();
+ 
+-		io_service& get_io_service() { return m_timeout.get_io_service(); }
++		io_service& get_io_service() { return GET_IO_SERVICE(m_timeout); }
+ 
+ 	private:
+ 
+diff --git a/include/libtorrent/udp_socket.hpp b/include/libtorrent/udp_socket.hpp
+index f4dcbeb24..367318eef 100644
+--- a/include/libtorrent/udp_socket.hpp
++++ b/include/libtorrent/udp_socket.hpp
+@@ -61,7 +61,7 @@ namespace libtorrent {
+ 		static constexpr udp_send_flags_t dont_fragment = 3_bit;
+ 
+ 		bool is_open() const { return m_abort == false; }
+-		io_service& get_io_service() { return m_socket.get_io_service(); }
++		io_service& get_io_service() { return GET_IO_SERVICE(m_socket); }
+ 
+ 		template <typename Handler>
+ 		void async_read(Handler&& h)
+diff --git a/src/disk_io_thread_pool.cpp b/src/disk_io_thread_pool.cpp
+index 4d4b5ee67..72a3523f5 100644
+--- a/src/disk_io_thread_pool.cpp
++++ b/src/disk_io_thread_pool.cpp
+@@ -173,7 +173,7 @@ namespace libtorrent {
+ 			// buffer pool won't exist anymore, and crash. This prevents that.
+ 			m_threads.emplace_back(&pool_thread_interface::thread_fun
+ 				, &m_thread_iface, std::ref(*this)
+-				, io_service::work(m_idle_timer.get_io_service()));
++				, io_service::work(GET_IO_SERVICE(m_idle_timer)));
+ 		}
+ 	}
+ 
+diff --git a/src/http_connection.cpp b/src/http_connection.cpp
+index e01e9ea1d..b4028e0c8 100644
+--- a/src/http_connection.cpp
++++ b/src/http_connection.cpp
+@@ -148,7 +148,7 @@ void http_connection::get(std::string const& url, time_duration timeout, int pri
+ 
+ 	if (ec)
+ 	{
+-		m_timer.get_io_service().post(std::bind(&http_connection::callback
++		GET_IO_SERVICE(m_timer).post(std::bind(&http_connection::callback
+ 			, me, ec, span<char>{}));
+ 		return;
+ 	}
+@@ -160,7 +160,7 @@ void http_connection::get(std::string const& url, time_duration timeout, int pri
+ 		)
+ 	{
+ 		error_code err(errors::unsupported_url_protocol);
+-		m_timer.get_io_service().post(std::bind(&http_connection::callback
++		GET_IO_SERVICE(m_timer).post(std::bind(&http_connection::callback
+ 			, me, err, span<char>{}));
+ 		return;
+ 	}
+@@ -258,7 +258,7 @@ void http_connection::start(std::string const& hostname, int port
+ 
+ 	if (ec)
+ 	{
+-		m_timer.get_io_service().post(std::bind(&http_connection::callback
++		GET_IO_SERVICE(m_timer).post(std::bind(&http_connection::callback
+ 			, me, ec, span<char>{}));
+ 		return;
+ 	}
+@@ -297,7 +297,7 @@ void http_connection::start(std::string const& hostname, int port
+ #if TORRENT_USE_I2P
+ 			if (i2p_conn->proxy().type != settings_pack::i2p_proxy)
+ 			{
+-				m_timer.get_io_service().post(std::bind(&http_connection::callback
++				GET_IO_SERVICE(m_timer).post(std::bind(&http_connection::callback
+ 					, me, error_code(errors::no_i2p_router), span<char>{}));
+ 				return;
+ 			}
+@@ -332,7 +332,7 @@ void http_connection::start(std::string const& hostname, int port
+ 					m_ssl_ctx->set_verify_mode(ssl::context::verify_none, ec);
+ 					if (ec)
+ 					{
+-						m_timer.get_io_service().post(std::bind(&http_connection::callback
++						GET_IO_SERVICE(m_timer).post(std::bind(&http_connection::callback
+ 								, me, ec, span<char>{}));
+ 						return;
+ 					}
+@@ -344,7 +344,7 @@ void http_connection::start(std::string const& hostname, int port
+ 		// assume this is not a tracker connection. Tracker connections that
+ 		// shouldn't be subject to the proxy should pass in nullptr as the proxy
+ 		// pointer.
+-		instantiate_connection(m_timer.get_io_service()
++		instantiate_connection(GET_IO_SERVICE(m_timer)
+ 			, proxy ? *proxy : null_proxy, m_sock, userdata, nullptr, false, false);
+ 
+ 		if (m_bind_addr)
+@@ -353,7 +353,7 @@ void http_connection::start(std::string const& hostname, int port
+ 			m_sock.bind(tcp::endpoint(*m_bind_addr, 0), ec);
+ 			if (ec)
+ 			{
+-				m_timer.get_io_service().post(std::bind(&http_connection::callback
++				GET_IO_SERVICE(m_timer).post(std::bind(&http_connection::callback
+ 					, me, ec, span<char>{}));
+ 				return;
+ 			}
+@@ -362,7 +362,7 @@ void http_connection::start(std::string const& hostname, int port
+ 		setup_ssl_hostname(m_sock, hostname, ec);
+ 		if (ec)
+ 		{
+-			m_timer.get_io_service().post(std::bind(&http_connection::callback
++			GET_IO_SERVICE(m_timer).post(std::bind(&http_connection::callback
+ 				, me, ec, span<char>{}));
+ 			return;
+ 		}
+diff --git a/src/kademlia/dht_tracker.cpp b/src/kademlia/dht_tracker.cpp
+index a840bcf99..9433795f3 100644
+--- a/src/kademlia/dht_tracker.cpp
++++ b/src/kademlia/dht_tracker.cpp
+@@ -130,7 +130,7 @@ namespace libtorrent { namespace dht {
+ 		// must use piecewise construction because tracker_node::connection_timer
+ 		// is neither copyable nor movable
+ 		auto n = m_nodes.emplace(std::piecewise_construct_t(), std::forward_as_tuple(s)
+-			, std::forward_as_tuple(m_key_refresh_timer.get_io_service()
++			, std::forward_as_tuple(GET_IO_SERVICE(m_key_refresh_timer)
+ 			, s, this, m_settings, nid, m_log, m_counters
+ 			, std::bind(&dht_tracker::get_node, this, _1, _2)
+ 			, m_storage));
+diff --git a/src/lsd.cpp b/src/lsd.cpp
+index 99e21ead4..32066ca30 100644
+--- a/src/lsd.cpp
++++ b/src/lsd.cpp
+@@ -100,11 +100,11 @@ void lsd::debug_log(char const* fmt, ...) const
+ void lsd::start(error_code& ec)
+ {
+ 	m_socket.open(std::bind(&lsd::on_announce, self(), _1, _2)
+-		, m_broadcast_timer.get_io_service(), ec);
++		, GET_IO_SERVICE(m_broadcast_timer), ec);
+ 	if (ec) return;
+ 
+ 	m_socket6.open(std::bind(&lsd::on_announce, self(), _1, _2)
+-		, m_broadcast_timer.get_io_service(), ec);
++		, GET_IO_SERVICE(m_broadcast_timer), ec);
+ }
+ 
+ lsd::~lsd() = default;
+diff --git a/src/natpmp.cpp b/src/natpmp.cpp
+index 1226bceba..b3e277cfb 100644
+--- a/src/natpmp.cpp
++++ b/src/natpmp.cpp
+@@ -160,13 +160,13 @@ void natpmp::start(address local_address, std::string device)
+ 	// try to find one even if the listen socket isn't bound to a device
+ 	if (device.empty())
+ 	{
+-		device = device_for_address(local_address, m_socket.get_io_service(), ec);
++		device = device_for_address(local_address, GET_IO_SERVICE(m_socket), ec);
+ 		// if this fails fall back to using the first default gateway in the
+ 		// routing table
+ 		ec.clear();
+ 	}
+ 
+-	auto const route = get_default_route(m_socket.get_io_service()
++	auto const route = get_default_route(GET_IO_SERVICE(m_socket)
+ 		, device, local_address.is_v6(), ec);
+ 
+ 	if (!route)
+@@ -194,7 +194,7 @@ void natpmp::start(address local_address, std::string device)
+ 	if (local_address.is_unspecified())
+ 	{
+ 		std::vector<ip_interface> const net = enum_net_interfaces(
+-			m_socket.get_io_service(), ec);
++			GET_IO_SERVICE(m_socket), ec);
+ 
+ 		auto const it = std::find_if(net.begin(), net.end(), [&](ip_interface const& i)
+ 		{
+diff --git a/src/udp_socket.cpp b/src/udp_socket.cpp
+index 9ca38e548..9e46a3e3d 100644
+--- a/src/udp_socket.cpp
++++ b/src/udp_socket.cpp
+@@ -492,7 +492,7 @@ void udp_socket::set_proxy_settings(aux::proxy_settings const& ps)
+ 	{
+ 		// connect to socks5 server and open up the UDP tunnel
+ 
+-		m_socks5_connection = std::make_shared<socks5>(m_socket.get_io_service());
++		m_socks5_connection = std::make_shared<socks5>(GET_IO_SERVICE(m_socket));
+ 		m_socks5_connection->start(ps);
+ 	}
+ }
+diff --git a/src/upnp.cpp b/src/upnp.cpp
+index a300571e4..2c9123300 100644
+--- a/src/upnp.cpp
++++ b/src/upnp.cpp
+@@ -121,7 +121,7 @@ void upnp::start()
+ 
+ 	error_code ec;
+ 	m_socket.open(std::bind(&upnp::on_reply, self(), _1, _2)
+-		, m_refresh_timer.get_io_service(), ec);
++		, GET_IO_SERVICE(m_refresh_timer), ec);
+ 
+ 	m_mappings.reserve(10);
+ }
+-- 
+2.20.1
+
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 1/2] package/libtorrent-rasterbar: bump to version 1.2.0
  2019-04-18 12:44 [Buildroot] [PATCH 1/2] package/libtorrent-rasterbar: bump to version 1.2.0 Fabrice Fontaine
  2019-04-18 12:44 ` [Buildroot] [PATCH 2/2] package/libtorrent-rasterbar: fix build with boost 1.70.0 Fabrice Fontaine
@ 2019-04-20 14:04 ` Thomas Petazzoni
  1 sibling, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2019-04-20 14:04 UTC (permalink / raw)
  To: buildroot

On Thu, 18 Apr 2019 14:44:50 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:

> - Drop boost-chrono, replaced by std::chrono since
>   https://github.com/arvidn/libtorrent/commit/78bc2698327069aa69ff7460b9314cbe45bd4d66
> - Drop boost random, replace by standard number classes since
>   https://github.com/arvidn/libtorrent/commit/fef94a4c5254e2280b601ab3ea211cc0193fecaa
> - Add two patches to fix build on uclibc
> - Needs exception_ptr since
>   https://github.com/arvidn/libtorrent/commit/5c361715da9d20d63b019d7fc4ce772cdecd7138
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  .../0001-add-missing-cstdarg-include.patch    | 37 +++++++++++++++++++
>  .../0002-buffer.hpp-fix-build-on-uclibc.patch | 29 +++++++++++++++
>  package/libtorrent-rasterbar/Config.in        |  8 +++-
>  .../libtorrent-rasterbar.hash                 |  2 +-
>  .../libtorrent-rasterbar.mk                   |  2 +-
>  5 files changed, 74 insertions(+), 4 deletions(-)
>  create mode 100644 package/libtorrent-rasterbar/0001-add-missing-cstdarg-include.patch
>  create mode 100644 package/libtorrent-rasterbar/0002-buffer.hpp-fix-build-on-uclibc.patch

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 2/2] package/libtorrent-rasterbar: fix build with boost 1.70.0
  2019-04-18 12:44 ` [Buildroot] [PATCH 2/2] package/libtorrent-rasterbar: fix build with boost 1.70.0 Fabrice Fontaine
@ 2019-04-20 14:04   ` Thomas Petazzoni
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2019-04-20 14:04 UTC (permalink / raw)
  To: buildroot

Hello Fabrice,

On Thu, 18 Apr 2019 14:44:51 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:

> Fixes:
>  - http://autobuild.buildroot.org/results/dc21322e101cbd242a22018f4d506b9f2c26dd33
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  .../0003-fix-build-with-boost-1.70.0.patch    | 267 ++++++++++++++++++
>  1 file changed, 267 insertions(+)
>  create mode 100644 package/libtorrent-rasterbar/0003-fix-build-with-boost-1.70.0.patch

Considering the comments you got from upstream, I marked this one as
Changes Requested. Could you resubmit with the version of the fixes
that were merged upstream ?

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-04-20 14:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-18 12:44 [Buildroot] [PATCH 1/2] package/libtorrent-rasterbar: bump to version 1.2.0 Fabrice Fontaine
2019-04-18 12:44 ` [Buildroot] [PATCH 2/2] package/libtorrent-rasterbar: fix build with boost 1.70.0 Fabrice Fontaine
2019-04-20 14:04   ` Thomas Petazzoni
2019-04-20 14:04 ` [Buildroot] [PATCH 1/2] package/libtorrent-rasterbar: bump to version 1.2.0 Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox