From 3ee50c9dc8bf032e9e0398a5c326413f4b21c974 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Thu, 18 Jan 2018 18:27:26 +0000 Subject: [PATCH] net-p2p/libtorrent-rasterbar: update to 1.1.6 - LOGGING is now enabled by default, following upstream, see https://github.com/arvidn/libtorrent/commit/e36b06602067 Changes: https://github.com/arvidn/libtorrent/releases/tag/libtorrent-1_1_5 Changes: https://github.com/arvidn/libtorrent/releases/tag/libtorrent-1_1_6 Changes: https://github.com/arvidn/libtorrent/compare/libtorrent-1_1_4...libtorrent-1_1_6 PR: 224060 Tested by: yuri Approved by: maintainer timeout (2 weeks) --- net-p2p/libtorrent-rasterbar/Makefile | 8 ++------ net-p2p/libtorrent-rasterbar/distinfo | 8 +++----- .../files/patch-include_libtorrent_config.hpp | 15 --------------- 3 files changed, 5 insertions(+), 26 deletions(-) delete mode 100644 net-p2p/libtorrent-rasterbar/files/patch-include_libtorrent_config.hpp diff --git a/net-p2p/libtorrent-rasterbar/Makefile b/net-p2p/libtorrent-rasterbar/Makefile index 2c24a1f29430..057d6a2398f6 100644 --- a/net-p2p/libtorrent-rasterbar/Makefile +++ b/net-p2p/libtorrent-rasterbar/Makefile @@ -2,14 +2,10 @@ # $FreeBSD$ PORTNAME= libtorrent-rasterbar -PORTVERSION= 1.1.4 -PORTREVISION= 4 +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= 7eb3cf6bc6db.patch:-p1 - MAINTAINER= rezny@FreeBSD.org COMMENT?= C++ library implementing a BitTorrent client @@ -19,7 +15,6 @@ LIB_DEPENDS+= libboost_chrono.so:devel/boost-libs \ libboost_random.so:devel/boost-libs \ libboost_system.so:devel/boost-libs -BROKEN= fails to build with boost 1.66, see bug 224060 BROKEN_powerpc64= fails to build: client_test.cpp: undefined reference to std::__cxx11::basic_string USES+= compiler:c++11-lib iconv:wchar_t libtool pathfix pkgconfig ssl @@ -45,6 +40,7 @@ PORTDOCS= ${DOCFILES} docs/* PORTEXAMPLES= *.cpp OPTIONS_DEFINE= DEBUG DOCS EXAMPLES LOGGING TEST +OPTIONS_DEFAULT=LOGGING OPTIONS_SUB= yes LOGGING_DESC= Enable disk stat logging and logging to disk diff --git a/net-p2p/libtorrent-rasterbar/distinfo b/net-p2p/libtorrent-rasterbar/distinfo index 2d828f4a25c1..f09149f47525 100644 --- a/net-p2p/libtorrent-rasterbar/distinfo +++ b/net-p2p/libtorrent-rasterbar/distinfo @@ -1,5 +1,3 @@ -TIMESTAMP = 1500241161 -SHA256 (libtorrent-rasterbar-1.1.4.tar.gz) = ccf42367803a6df7edcf4756d1f7d0a9ce6158ec33b851b3b58fd470ac4eeba6 -SIZE (libtorrent-rasterbar-1.1.4.tar.gz) = 3917557 -SHA256 (7eb3cf6bc6db.patch) = d343654786f02112b0787d999f3c569bcb9bb31dfc2be52aa26007b5f5e3ca0b -SIZE (7eb3cf6bc6db.patch) = 1180 +TIMESTAMP = 1514730099 +SHA256 (libtorrent-rasterbar-1.1.6.tar.gz) = b7c74d004bd121bd6e9f8975ee1fec3c95c74044c6a6250f6b07f259f55121ef +SIZE (libtorrent-rasterbar-1.1.6.tar.gz) = 3846476 diff --git a/net-p2p/libtorrent-rasterbar/files/patch-include_libtorrent_config.hpp b/net-p2p/libtorrent-rasterbar/files/patch-include_libtorrent_config.hpp deleted file mode 100644 index 1bfab5affcf5..000000000000 --- a/net-p2p/libtorrent-rasterbar/files/patch-include_libtorrent_config.hpp +++ /dev/null @@ -1,15 +0,0 @@ ---- include/libtorrent/config.hpp.orig 2017-07-02 16:18:10 UTC -+++ include/libtorrent/config.hpp -@@ -195,12 +195,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(x) (x) --#endif - #endif // __APPLE__ - - #define TORRENT_HAVE_MMAP 1