git: d7c2207b7c8d - main - net-p2p/{lib,r}torrent: Update to 0.16.17

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Mon, 06 Jul 2026 14:53:42 UTC
The branch main has been updated by eduardo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d7c2207b7c8dadaf087cd8ceea0debb40aa08a86

commit d7c2207b7c8dadaf087cd8ceea0debb40aa08a86
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2026-07-03 17:21:44 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2026-07-06 14:53:14 +0000

    net-p2p/{lib,r}torrent: Update to 0.16.17
    
    - Remove i386 fix as it is not correct. Mark BROKEN_i386
    
    ChangeLog:      https://github.com/rakshasa/rtorrent/releases/tag/v0.16.17
                    https://github.com/rakshasa/rtorrent/releases/tag/v0.16.16
---
 net-p2p/libtorrent/Makefile           |  2 +-
 net-p2p/libtorrent/distinfo           |  6 +++---
 net-p2p/libtorrent/pkg-plist          |  5 +++--
 net-p2p/rtorrent/Makefile             |  4 +++-
 net-p2p/rtorrent/distinfo             |  6 +++---
 net-p2p/rtorrent/files/patch-Fix-i386 | 17 -----------------
 6 files changed, 13 insertions(+), 27 deletions(-)

diff --git a/net-p2p/libtorrent/Makefile b/net-p2p/libtorrent/Makefile
index 8fa9721d5772..d4574fa941ad 100644
--- a/net-p2p/libtorrent/Makefile
+++ b/net-p2p/libtorrent/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	libtorrent
-DISTVERSION=	0.16.15
+DISTVERSION=	0.16.17
 CATEGORIES=	net-p2p
 MASTER_SITES=	https://github.com/rakshasa/rtorrent/releases/download/v${DISTVERSION}/
 
diff --git a/net-p2p/libtorrent/distinfo b/net-p2p/libtorrent/distinfo
index af09fd5f29ec..84080e767163 100644
--- a/net-p2p/libtorrent/distinfo
+++ b/net-p2p/libtorrent/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1782153833
-SHA256 (libtorrent-0.16.15.tar.gz) = bbb09fb80f50fede504799885d1df054c9edf7e7820f9d5a9c72674dcf60c9cf
-SIZE (libtorrent-0.16.15.tar.gz) = 911534
+TIMESTAMP = 1783343262
+SHA256 (libtorrent-0.16.17.tar.gz) = 9efd7f3176a03f7935b5616ff57695524e99a3184e43ec01110d13d960d2abf6
+SIZE (libtorrent-0.16.17.tar.gz) = 917140
diff --git a/net-p2p/libtorrent/pkg-plist b/net-p2p/libtorrent/pkg-plist
index 151242a9c439..5755f5a8f615 100644
--- a/net-p2p/libtorrent/pkg-plist
+++ b/net-p2p/libtorrent/pkg-plist
@@ -48,6 +48,7 @@ include/torrent/peer/peer_list.h
 include/torrent/rate.h
 include/torrent/runtime/network_config.h
 include/torrent/runtime/network_manager.h
+include/torrent/runtime/proxy_manager.h
 include/torrent/runtime/runtime.h
 include/torrent/runtime/socket_manager.h
 include/torrent/system/callbacks.h
@@ -77,6 +78,6 @@ include/torrent/utils/string_manip.h
 include/torrent/utils/unordered_vector.h
 include/torrent/utils/uri_parser.h
 lib/libtorrent.so
-lib/libtorrent.so.45
-lib/libtorrent.so.45.0.0
+lib/libtorrent.so.47
+lib/libtorrent.so.47.0.0
 libdata/pkgconfig/libtorrent.pc
diff --git a/net-p2p/rtorrent/Makefile b/net-p2p/rtorrent/Makefile
index 0ae8dcc549c6..ccd3fb17f69e 100644
--- a/net-p2p/rtorrent/Makefile
+++ b/net-p2p/rtorrent/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	rtorrent
-DISTVERSION=	0.16.15
+DISTVERSION=	0.16.17
 CATEGORIES=	net-p2p
 MASTER_SITES=	https://github.com/rakshasa/rtorrent/releases/download/v${DISTVERSION}/
 
@@ -11,6 +11,8 @@ LICENSE=	GPLv2 GPLv3
 LICENSE_COMB=	dual
 LICENSE_FILE_GPLv2=	${WRKSRC}/COPYING
 
+BROKEN_i386=	error: static assertion failed; see also: https://github.com/rakshasa/rtorrent/issues/1859
+
 LIB_DEPENDS=	libtorrent.so:net-p2p/libtorrent
 TEST_DEPENDS=	cppunit>0:devel/cppunit
 
diff --git a/net-p2p/rtorrent/distinfo b/net-p2p/rtorrent/distinfo
index 9f0dc301c5c1..c21d7b018ac3 100644
--- a/net-p2p/rtorrent/distinfo
+++ b/net-p2p/rtorrent/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1782155904
-SHA256 (rtorrent-0.16.15.tar.gz) = 202b56b75916cae86b4db4208cc42279f12d07a06e2ffba8ac8361bcb6dac18d
-SIZE (rtorrent-0.16.15.tar.gz) = 868541
+TIMESTAMP = 1783343880
+SHA256 (rtorrent-0.16.17.tar.gz) = 115cdb6bf70f5c0f43687ca57c974bc45a7ff970562a56b51b971b9bf51ef0a1
+SIZE (rtorrent-0.16.17.tar.gz) = 868244
diff --git a/net-p2p/rtorrent/files/patch-Fix-i386 b/net-p2p/rtorrent/files/patch-Fix-i386
deleted file mode 100644
index de47190588b4..000000000000
--- a/net-p2p/rtorrent/files/patch-Fix-i386
+++ /dev/null
@@ -1,17 +0,0 @@
-https://github.com/rakshasa/rtorrent/issues/1859
-
---- src/rpc/command.h.orig	2026-06-30 20:49:08 UTC
-+++ src/rpc/command.h
-@@ -169,8 +169,10 @@ class command_base { (public)
-   template <typename T>
-   void set_function(T s, [[maybe_unused]] int value = command_base_is_valid<T>::value) {
-     static_assert(sizeof(T) <= sizeof(t_pod), "t_pod storage overflow");
--    static_assert(alignof(std::max_align_t) % alignof(T) == 0, "t_pod alignment insufficient for type");
--    static_assert(alignof(std::max_align_t) >= alignof(T), "t_pod structural capacity mismatch");
-+    #if !defined(__i386__)
-+       static_assert(alignof(std::max_align_t) % alignof(T) == 0, "t_pod alignment insufficient for type");
-+       static_assert(alignof(std::max_align_t) >= alignof(T), "t_pod structural capacity mismatch");
-+    #endif
- 
-     if (m_dest_helper)
-       m_dest_helper(t_pod);