Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Oct 2016 05:23:21 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r424227 - in head/net-p2p/libtorrent-rasterbar: . files
Message-ID:  <201610190523.u9J5NL6a074149@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Wed Oct 19 05:23:20 2016
New Revision: 424227
URL: https://svnweb.freebsd.org/changeset/ports/424227

Log:
  net-p2p/libtorrent-rasterbar: update 1.1.0 -> 1.1.1
  
  - compile in C++11 mode as is required by qBittorrent versions after 3.3.4
  
  PR:		212235
  Submitted by:	matthew@reztek.cz (maintainer)

Added:
  head/net-p2p/libtorrent-rasterbar/files/patch-include_libtorrent_config.hpp   (contents, props changed)
  head/net-p2p/libtorrent-rasterbar/files/patch-include_libtorrent_tommath.h   (contents, props changed)
  head/net-p2p/libtorrent-rasterbar/files/patch-src_kademlia_dht__tracker.cpp   (contents, props changed)
Deleted:
  head/net-p2p/libtorrent-rasterbar/files/patch-git_3624ce6c
  head/net-p2p/libtorrent-rasterbar/files/patch-git_95e348be
  head/net-p2p/libtorrent-rasterbar/files/patch-include-libtorrent-config.hpp
Modified:
  head/net-p2p/libtorrent-rasterbar/Makefile
  head/net-p2p/libtorrent-rasterbar/distinfo
  head/net-p2p/libtorrent-rasterbar/pkg-plist

Modified: head/net-p2p/libtorrent-rasterbar/Makefile
==============================================================================
--- head/net-p2p/libtorrent-rasterbar/Makefile	Wed Oct 19 03:34:58 2016	(r424226)
+++ head/net-p2p/libtorrent-rasterbar/Makefile	Wed Oct 19 05:23:20 2016	(r424227)
@@ -2,9 +2,9 @@
 # $FreeBSD$
 
 PORTNAME=	libtorrent-rasterbar
-PORTVERSION=	1.1.0
+PORTVERSION=	1.1.1
 CATEGORIES?=	net-p2p ipv6
-MASTER_SITES=	https://github.com/arvidn/libtorrent/releases/download/libtorrent-${PORTVERSION:R:S/./_/g}/
+MASTER_SITES=	https://github.com/arvidn/libtorrent/releases/download/libtorrent-${PORTVERSION:S/./_/g}/
 
 MAINTAINER=	matthew@reztek.cz
 COMMENT?=	C++ library implementing a BitTorrent client
@@ -15,7 +15,8 @@ LIB_DEPENDS+=	libboost_chrono.so:devel/b
 		libboost_random.so:devel/boost-libs \
 		libboost_system.so:devel/boost-libs
 
-USES+=		compiler:c++11-lang iconv:wchar_t libtool pathfix pkgconfig ssl
+USES+=		compiler:c++11-lib iconv:wchar_t libtool pathfix pkgconfig ssl
+USE_CXXSTD=	c++11
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 TEST_TARGET=	check

Modified: head/net-p2p/libtorrent-rasterbar/distinfo
==============================================================================
--- head/net-p2p/libtorrent-rasterbar/distinfo	Wed Oct 19 03:34:58 2016	(r424226)
+++ head/net-p2p/libtorrent-rasterbar/distinfo	Wed Oct 19 05:23:20 2016	(r424227)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1471285838
-SHA256 (libtorrent-rasterbar-1.1.0.tar.gz) = 2713df7da4aec5263ac11b6626ea966f368a5a8081103fd8f2f2ed97b5cd731d
-SIZE (libtorrent-rasterbar-1.1.0.tar.gz) = 3629123
+TIMESTAMP = 1472088233
+SHA256 (libtorrent-rasterbar-1.1.1.tar.gz) = f70c82367b0980460ef95aff3e117fd4a174477892d529beec434f74d615b31f
+SIZE (libtorrent-rasterbar-1.1.1.tar.gz) = 3641815

Added: head/net-p2p/libtorrent-rasterbar/files/patch-include_libtorrent_config.hpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-p2p/libtorrent-rasterbar/files/patch-include_libtorrent_config.hpp	Wed Oct 19 05:23:20 2016	(r424227)
@@ -0,0 +1,15 @@
+--- include/libtorrent/config.hpp.orig	2016-08-23 04:28:09 UTC
++++ include/libtorrent/config.hpp
+@@ -180,12 +180,6 @@ POSSIBILITY OF SUCH DAMAGE.
+ #define TORRENT_USE_EXECINFO 1
+ #endif
+ 
+-#else // __APPLE__
+-// FreeBSD has a reasonable iconv signature
+-// unless we're on glibc
+-#ifndef __GLIBC__
+-# define TORRENT_ICONV_ARG (const char**)
+-#endif
+ #endif // __APPLE__
+ 
+ #define TORRENT_HAVE_MMAP 1

Added: head/net-p2p/libtorrent-rasterbar/files/patch-include_libtorrent_tommath.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-p2p/libtorrent-rasterbar/files/patch-include_libtorrent_tommath.h	Wed Oct 19 05:23:20 2016	(r424227)
@@ -0,0 +1,11 @@
+--- include/libtorrent/tommath.h.orig	2016-08-29 10:51:22 UTC
++++ include/libtorrent/tommath.h
+@@ -111,7 +111,7 @@ extern "C" {
+ 
+ /* use arc4random on platforms that support it */
+ #ifdef MP_USE_ALT_RAND
+-    #define MP_GEN_RANDOM()    arc4random()
++    #define MP_GEN_RANDOM()    (int)arc4random()
+ #else
+     #define MP_GEN_RANDOM()    rand()
+ #endif

Added: head/net-p2p/libtorrent-rasterbar/files/patch-src_kademlia_dht__tracker.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-p2p/libtorrent-rasterbar/files/patch-src_kademlia_dht__tracker.cpp	Wed Oct 19 05:23:20 2016	(r424227)
@@ -0,0 +1,12 @@
+--- src/kademlia/dht_tracker.cpp.orig	2016-08-23 04:28:09 UTC
++++ src/kademlia/dht_tracker.cpp
+@@ -224,7 +224,8 @@ namespace libtorrent { namespace dht
+ 	void dht_tracker::get_peers(sha1_hash const& ih
+ 		, boost::function<void(std::vector<tcp::endpoint> const&)> f)
+ 	{
+-		m_dht.get_peers(ih, f, NULL, false);
++		boost::function<void(std::vector<std::pair<node_entry, std::string> > const&)> empty;
++		m_dht.get_peers(ih, f, empty, false);
+ 	}
+ 
+ 	void dht_tracker::announce(sha1_hash const& ih, int listen_port, int flags

Modified: head/net-p2p/libtorrent-rasterbar/pkg-plist
==============================================================================
--- head/net-p2p/libtorrent-rasterbar/pkg-plist	Wed Oct 19 03:34:58 2016	(r424226)
+++ head/net-p2p/libtorrent-rasterbar/pkg-plist	Wed Oct 19 05:23:20 2016	(r424227)
@@ -3,7 +3,6 @@ include/libtorrent/add_torrent_params.hp
 include/libtorrent/address.hpp
 include/libtorrent/alert.hpp
 include/libtorrent/alert_manager.hpp
-include/libtorrent/alert_observer.hpp
 include/libtorrent/alert_types.hpp
 include/libtorrent/alloca.hpp
 include/libtorrent/allocator.hpp
@@ -172,6 +171,7 @@ include/libtorrent/time.hpp
 include/libtorrent/timestamp_history.hpp
 include/libtorrent/tommath.h
 include/libtorrent/tommath_class.h
+include/libtorrent/tommath_private.h
 include/libtorrent/tommath_superclass.h
 include/libtorrent/torrent.hpp
 include/libtorrent/torrent_handle.hpp



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