I tried to build rtorrent as well under -current, it turned out I can't compile libtorrent:
....
In file included from poll_kqueue.cc:50:0:
../../rak/functional.h: In instantiation of 'bool rak::equal_t<Type, Ftor>::operator()(Arg&) [with Arg = kevent; Type = torrent::Event*; Ftor = rak::mem_ref_t<kevent, long int>]':
/usr/include/g++/bits/predefined_ops.h:234:30: required from 'bool __gnu_cxx::__ops::_Iter_pred<_Predicate>::operator()(_Iterator) [with _Iterator = kevent*; _Predicate = rak::equal_t<torrent::Event*, rak::mem_ref_t<kevent, long int> >]'
/usr/include/g++/bits/stl_algo.h:866:20: required from '_ForwardIterator std::__remove_if(_ForwardIterator, _ForwardIterator, _Predicate) [with _ForwardIterator = kevent*; _Predicate = __gnu_cxx::__ops::_Iter_pred<rak::equal_t<torrent::Event*, rak::mem_ref_t<kevent, l
ong int> > >]'
/usr/include/g++/bits/stl_algo.h:936:30: required from '_FIter std::remove_if(_FIter, _FIter, _Predicate) [with _FIter = kevent*; _Predicate = rak::equal_t<torrent::Event*, rak::mem_ref_t<kevent, long int> >]'
poll_kqueue.cc:316:83: required from here
../../rak/functional.h:97:16: warning: ISO C++ forbids comparison between pointer and integer [-fpermissive]
return m_t == m_f(a);
^
Makefile:584: recipe for target 'poll_kqueue.lo' failed
gmake[4]: *** [poll_kqueue.lo] Error 1
gmake[4]: Leaving directory '/usr/pkgsrc/net/libtorrent/work/libtorrent-0.13.6/src/torrent'
Makefile:624: recipe for target 'all-recursive' failed
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory '/usr/pkgsrc/net/libtorrent/work/libtorrent-0.13.6/src/torrent'
Makefile:562: recipe for target 'all-recursive' failed
....