diff options
Diffstat (limited to 'libraries/libtorrent-rasterbar/patches/02_64d6b4900448097b0157abb328621dd211e2947d.patch')
-rw-r--r-- | libraries/libtorrent-rasterbar/patches/02_64d6b4900448097b0157abb328621dd211e2947d.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/libraries/libtorrent-rasterbar/patches/02_64d6b4900448097b0157abb328621dd211e2947d.patch b/libraries/libtorrent-rasterbar/patches/02_64d6b4900448097b0157abb328621dd211e2947d.patch new file mode 100644 index 0000000000..46567b8ff6 --- /dev/null +++ b/libraries/libtorrent-rasterbar/patches/02_64d6b4900448097b0157abb328621dd211e2947d.patch @@ -0,0 +1,31 @@ +From 64d6b4900448097b0157abb328621dd211e2947d Mon Sep 17 00:00:00 2001 +From: arvidn <arvid@libtorrent.org> +Date: Wed, 11 Apr 2018 13:48:42 +0200 +Subject: [PATCH] fix boost-1.67 build + +--- + include/libtorrent/ip_filter.hpp | 8 +++++++- + 1 file changed, 7 insertions(+), 1 deletion(-) + +diff --git a/include/libtorrent/ip_filter.hpp b/include/libtorrent/ip_filter.hpp +index 4e47b39a1d..4455624449 100644 +--- a/include/libtorrent/ip_filter.hpp ++++ b/include/libtorrent/ip_filter.hpp +@@ -41,10 +41,16 @@ POSSIBILITY OF SUCH DAMAGE. + #include <vector> + + #include <boost/limits.hpp> +-#include <boost/utility.hpp> + #include <boost/cstdint.hpp> + #include <boost/tuple/tuple.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" + + #include "libtorrent/address.hpp" |