net-p2p/libtorrent-rasterbar: unbreak with boost 1.67
In file included from disk_buffer_holder.cpp:34:
In file included from ../include/libtorrent/aux_/session_impl.hpp:73:
../include/libtorrent/ip_filter.hpp:168:34: error: no member named 'prior' in namespace 'boost'; did you mean
'perror'? boost::uint32_t last_access = boost::prior(j)->access; ^~~~~~~~~~~~ perror
/usr/include/stdio.h:266:7: note: 'perror' declared here
void perror(const char *);
^
In file included from disk_buffer_holder.cpp:34:
In file included from ../include/libtorrent/aux_/session_impl.hpp:73:
../include/libtorrent/ip_filter.hpp:174:43: error: no member named 'prior' in namespace 'boost'; did you mean
'perror'? else if (i != m_access_list.begin() && boost::prior(i)->access == flags) ^~~~~~~~~~~~ perror
/usr/include/stdio.h:266:7: note: 'perror' declared here
void perror(const char *);
^
In file included from disk_buffer_holder.cpp:34:
In file included from ../include/libtorrent/aux_/session_impl.hpp:73:
../include/libtorrent/ip_filter.hpp:182:43: error: no member named 'next' in namespace 'boost'
if (i != j) m_access_list.erase(boost::next(i), j); ~~~~~~~^
kademlia/routing_table.cpp:716:26: error: no member named 'next' in namespace 'boost'; did you mean 'std::next'?
bool const can_split = (boost::next(i) == m_buckets.end() ^~~~~~~~~~~ std::next
/usr/include/c++/v1/iterator:519:1: note: 'std::next' declared here
next(_ForwardIter __x,
^
kademlia/routing_table.cpp:719:40: error: no member named 'prior' in namespace 'boost'
&& (i == m_buckets.begin() || boost::prior(i)->live_nodes.size() > 1); ~~~~~~~^
PR: 227427
Obtained from: upstream