diff options
Diffstat (limited to 'libraries/libtorrent-rasterbar/patches/04_9cd0ae67e74a507c1b9ff9c057ee97dda38ccb81.patch')
-rw-r--r-- | libraries/libtorrent-rasterbar/patches/04_9cd0ae67e74a507c1b9ff9c057ee97dda38ccb81.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/libraries/libtorrent-rasterbar/patches/04_9cd0ae67e74a507c1b9ff9c057ee97dda38ccb81.patch b/libraries/libtorrent-rasterbar/patches/04_9cd0ae67e74a507c1b9ff9c057ee97dda38ccb81.patch new file mode 100644 index 0000000000..a6f306ad13 --- /dev/null +++ b/libraries/libtorrent-rasterbar/patches/04_9cd0ae67e74a507c1b9ff9c057ee97dda38ccb81.patch @@ -0,0 +1,27 @@ +From 9cd0ae67e74a507c1b9ff9c057ee97dda38ccb81 Mon Sep 17 00:00:00 2001 +From: arvidn <arvid@libtorrent.org> +Date: Fri, 13 Apr 2018 08:42:39 +0200 +Subject: [PATCH] another boost-1.67 build fix + +--- + src/kademlia/routing_table.cpp | 7 +++++++ + 1 file changed, 7 insertions(+) + +diff --git a/src/kademlia/routing_table.cpp b/src/kademlia/routing_table.cpp +index a23500b69f..dfc3500930 100644 +--- a/src/kademlia/routing_table.cpp ++++ b/src/kademlia/routing_table.cpp +@@ -54,6 +54,13 @@ POSSIBILITY OF SUCH DAMAGE. + #include <boost/cstdint.hpp> + #include <boost/bind.hpp> + ++#include <boost/version.hpp> ++#if BOOST_VERSION >= 106700 ++#include <boost/next_prior.hpp> ++#else ++#include <boost/utility.hpp> ++#endif ++ + #include "libtorrent/aux_/disable_warnings_pop.hpp" + + using boost::uint8_t; |