Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Apr 2018 13:05:17 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r467238 - head/net-p2p/libtorrent-rasterbar
Message-ID:  <201804131305.w3DD5HBc029592@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Fri Apr 13 13:05:17 2018
New Revision: 467238
URL: https://svnweb.freebsd.org/changeset/ports/467238

Log:
  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

Modified:
  head/net-p2p/libtorrent-rasterbar/Makefile   (contents, props changed)
  head/net-p2p/libtorrent-rasterbar/distinfo   (contents, props changed)

Modified: head/net-p2p/libtorrent-rasterbar/Makefile
==============================================================================
--- head/net-p2p/libtorrent-rasterbar/Makefile	Fri Apr 13 12:31:30 2018	(r467237)
+++ head/net-p2p/libtorrent-rasterbar/Makefile	Fri Apr 13 13:05:17 2018	(r467238)
@@ -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
 

Modified: head/net-p2p/libtorrent-rasterbar/distinfo
==============================================================================
--- head/net-p2p/libtorrent-rasterbar/distinfo	Fri Apr 13 12:31:30 2018	(r467237)
+++ head/net-p2p/libtorrent-rasterbar/distinfo	Fri Apr 13 13:05:17 2018	(r467238)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804131305.w3DD5HBc029592>