aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2018-04-13 21:05:17 +0800
committerjbeich <jbeich@FreeBSD.org>2018-04-13 21:05:17 +0800
commitb4c49df74f6527b882a4309b16784cd74d89d370 (patch)
tree83edbf9966a014a15532e98645159bd04075bc6c /net-p2p
parent8481983d209bfceac5df54570286a2f553f7b7bc (diff)
downloadfreebsd-ports-gnome-b4c49df74f6527b882a4309b16784cd74d89d370.tar.gz
freebsd-ports-gnome-b4c49df74f6527b882a4309b16784cd74d89d370.tar.zst
freebsd-ports-gnome-b4c49df74f6527b882a4309b16784cd74d89d370.zip
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
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/libtorrent-rasterbar/Makefile3
-rw-r--r--net-p2p/libtorrent-rasterbar/distinfo4
2 files changed, 7 insertions, 0 deletions
diff --git a/net-p2p/libtorrent-rasterbar/Makefile b/net-p2p/libtorrent-rasterbar/Makefile
index 057d6a2398f6..112f9a92de64 100644
--- a/net-p2p/libtorrent-rasterbar/Makefile
+++ b/net-p2p/libtorrent-rasterbar/Makefile
@@ -6,6 +6,9 @@ PORTVERSION= 1.1.6
CATEGORIES?= net-p2p ipv6
MASTER_SITES= https://github.com/arvidn/libtorrent/releases/download/libtorrent-${PORTVERSION:S/./_/g}/
+PATCH_SITES= https://github.com/arvidn/libtorrent/commit/
+PATCHFILES= 64d6b4900448.patch:-p1 3a1b0f1abb1d.patch:-p1
+
MAINTAINER= rezny@FreeBSD.org
COMMENT?= C++ library implementing a BitTorrent client
diff --git a/net-p2p/libtorrent-rasterbar/distinfo b/net-p2p/libtorrent-rasterbar/distinfo
index f09149f47525..860ac90fecb1 100644
--- a/net-p2p/libtorrent-rasterbar/distinfo
+++ b/net-p2p/libtorrent-rasterbar/distinfo
@@ -1,3 +1,7 @@
TIMESTAMP = 1514730099
SHA256 (libtorrent-rasterbar-1.1.6.tar.gz) = b7c74d004bd121bd6e9f8975ee1fec3c95c74044c6a6250f6b07f259f55121ef
SIZE (libtorrent-rasterbar-1.1.6.tar.gz) = 3846476
+SHA256 (64d6b4900448.patch) = 0c3aa08437905c74f0a153cf73d551de5ab3dff57df9193baa4fe724c2039034
+SIZE (64d6b4900448.patch) = 902
+SHA256 (3a1b0f1abb1d.patch) = 7c63f165230657620125abfb842f86d5e3f590a0b3ddf441d02589ec9b292eba
+SIZE (3a1b0f1abb1d.patch) = 784