bunch of fixes in https://github.com/arvidn/libtorrent/releases/tag/v2.0.8 deluge and qbittorrent build fine, qbittorrent keeps working for me.
OK? Index: Makefile =================================================================== RCS file: /cvs/ports/net/libtorrent-rasterbar/Makefile,v retrieving revision 1.37 diff -u -p -r1.37 Makefile --- Makefile 22 May 2023 16:58:10 -0000 1.37 +++ Makefile 22 May 2023 19:15:14 -0000 @@ -1,10 +1,9 @@ COMMENT = C++ library implementing a BitTorrent client -V = 2.0.8 +V = 2.0.9 DISTNAME = libtorrent-rasterbar-${V} -REVISION = 0 -SHARED_LIBS += torrent-rasterbar 8.0 # 10.0.0 +SHARED_LIBS += torrent-rasterbar 9.0 # 10.0.0 CATEGORIES = net devel Index: distinfo =================================================================== RCS file: /cvs/ports/net/libtorrent-rasterbar/distinfo,v retrieving revision 1.14 diff -u -p -r1.14 distinfo --- distinfo 5 Feb 2023 12:50:30 -0000 1.14 +++ distinfo 22 May 2023 17:30:31 -0000 @@ -1,2 +1,2 @@ -SHA256 (libtorrent-rasterbar-2.0.8.tar.gz) = Cd05m0R3Y4zxQBg/X4XTdqv/ucGSvCkQACmI4n1p4T4= -SIZE (libtorrent-rasterbar-2.0.8.tar.gz) = 4562750 +SHA256 (libtorrent-rasterbar-2.0.9.tar.gz) = kM2StgYcW2ZIQMPV4VHUP+2yT1srJOFEJf+7iE7xeY4= +SIZE (libtorrent-rasterbar-2.0.9.tar.gz) = 4720611 Index: patches/patch-include_libtorrent_config_hpp =================================================================== RCS file: /cvs/ports/net/libtorrent-rasterbar/patches/patch-include_libtorrent_config_hpp,v retrieving revision 1.9 diff -u -p -r1.9 patch-include_libtorrent_config_hpp --- patches/patch-include_libtorrent_config_hpp 5 Feb 2023 12:50:30 -0000 1.9 +++ patches/patch-include_libtorrent_config_hpp 22 May 2023 17:30:48 -0000 @@ -1,7 +1,7 @@ Index: include/libtorrent/config.hpp --- include/libtorrent/config.hpp.orig +++ include/libtorrent/config.hpp -@@ -500,6 +500,10 @@ POSSIBILITY OF SUCH DAMAGE. +@@ -521,6 +521,10 @@ POSSIBILITY OF SUCH DAMAGE. #define TORRENT_USE_UNC_PATHS 0 #endif