summaryrefslogtreecommitdiff
path: root/net-libs/libtorrent-rasterbar/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-12-17 22:53:36 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-12-17 22:53:36 +0000
commit6574f817c6e4a9b966fe85c0414133ee27557515 (patch)
treea2925bc3402ec357348dd71cfed0af8252854d07 /net-libs/libtorrent-rasterbar/files
parent9c6186e8698f3de949717932e349a46011df5cf3 (diff)
net-libs/libtorrent-rasterbar : import from gentoo, fix build against boost-1.72
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();
+