summaryrefslogtreecommitdiff
path: root/net-libs/libtorrent-rasterbar/files
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/libtorrent-rasterbar/files')
-rw-r--r--net-libs/libtorrent-rasterbar/files/fix-boost-1.72.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/net-libs/libtorrent-rasterbar/files/fix-boost-1.72.patch b/net-libs/libtorrent-rasterbar/files/fix-boost-1.72.patch
new file mode 100644
index 00000000..ded59a56
--- /dev/null
+++ b/net-libs/libtorrent-rasterbar/files/fix-boost-1.72.patch
@@ -0,0 +1,14 @@
+diff -Nur a/include/libtorrent/aux_/socket_type.hpp b/include/libtorrent/aux_/socket_type.hpp
+--- a/include/libtorrent/aux_/socket_type.hpp 2019-09-24 00:28:43.000000000 +0100
++++ b/include/libtorrent/aux_/socket_type.hpp 2019-12-17 22:48:27.679305842 +0000
+@@ -184,6 +184,10 @@
+ using receive_buffer_size = tcp::socket::receive_buffer_size;
+ using send_buffer_size = tcp::socket::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();
+