libtorrent-rasterbar: Update to 2.0.6
authorTianling Shen <cnsztl@immortalwrt.org>
Fri, 29 Apr 2022 02:09:26 +0000 (10:09 +0800)
committerRosen Penev <rosenp@gmail.com>
Fri, 29 Apr 2022 22:25:06 +0000 (15:25 -0700)
Added new dependency "libstdcpp".
Removed an upstreamed patch.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
libs/libtorrent-rasterbar/Makefile
libs/libtorrent-rasterbar/patches/010-update-boost-1780.patch [deleted file]

index 12a43979dcead69f065f15962a51ca963633d590..c64cec261de09e500a7416c84aa2d697eb2660f9 100644 (file)
@@ -1,12 +1,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libtorrent-rasterbar
-PKG_VERSION:=2.0.5
+PKG_VERSION:=2.0.6
 PKG_RELEASE:=$(AUTORELEASE)
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://codeload.github.com/arvidn/libtorrent/tar.gz/v$(PKG_VERSION)?
-PKG_HASH:=8879d233d81b9bc1b02fdac35f6e1f69509c74da9818c6a819d18b5e42983f56
+PKG_HASH:=75b17d9db3adf0da5896edeaff4db3879f38ee66be953dc9567089db83a070be
 
 PKG_MAINTAINER:=David Yang <mmyangfl@gmail.com>
 PKG_LICENSE:=BSD-3-Clause
@@ -24,7 +24,7 @@ define Package/libtorrent-rasterbar
        $(call Package/libtorrent-rasterbar/Default)
        SECTION:=libs
        CATEGORY:=Libraries
-       DEPENDS:=+boost-system +libopenssl +libatomic
+       DEPENDS:=+boost-system +libopenssl +libatomic +libstdcpp
 endef
 
 #define Package/python3-libtorrent
@@ -47,11 +47,11 @@ endef
 #endef
 
 define Download/try_signal
-       VERSION:=334fd139e2bb387017b42d36753a03935e3bca75
+       VERSION:=751a7e5a5be14892bcfdff1e63c653bcbf71cf39
        SUBDIR:=deps/try_signal
        FILE:=$(PKG_NAME)-try_signal-$$(VERSION).tar.xz
        URL:=https://github.com/arvidn/try_signal.git
-       MIRROR_HASH:=c85d65352c20713cb6cfb005942b46ab7579dc7eef3b876666bff9347149d47f
+       MIRROR_HASH:=32a432e35e81c79f21c49744f00696c112e0deab45d15d91c61ceb63fe25a5f8
        PROTO:=git
 endef
 $(eval $(call Download,try_signal))
diff --git a/libs/libtorrent-rasterbar/patches/010-update-boost-1780.patch b/libs/libtorrent-rasterbar/patches/010-update-boost-1780.patch
deleted file mode 100644 (file)
index 47a729d..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-From 71d608fceca7e61c9d124f9ea83f71b06eda3b17 Mon Sep 17 00:00:00 2001
-From: arvidn <arvid@libtorrent.org>
-Date: Sun, 12 Dec 2021 21:52:15 +0100
-Subject: [PATCH] update allocator sizes for boost-1.78
-
----
- include/libtorrent/aux_/allocating_handler.hpp | 16 ++++++++--------
- 1 file changed, 8 insertions(+), 8 deletions(-)
-
---- a/include/libtorrent/aux_/allocating_handler.hpp
-+++ b/include/libtorrent/aux_/allocating_handler.hpp
-@@ -77,11 +77,11 @@ namespace libtorrent { namespace aux {
-       constexpr std::size_t openssl_write_cost = 0;
- #endif
--      constexpr std::size_t read_handler_max_size = tracking + debug_read_iter + openssl_read_cost + 102 + 8 * sizeof(void*);
--      constexpr std::size_t write_handler_max_size = tracking + debug_write_iter + openssl_write_cost + 102 + 8 * sizeof(void*);
--      constexpr std::size_t udp_handler_max_size = tracking + debug_tick + 144 + 8 * sizeof(void*);
--      constexpr std::size_t utp_handler_max_size = tracking + debug_tick + 168 + 8 * sizeof(void*);
--      constexpr std::size_t tick_handler_max_size = tracking + debug_tick + 160;
-+      constexpr std::size_t read_handler_max_size = tracking + debug_read_iter + openssl_read_cost + 102 + 9 * sizeof(void*);
-+      constexpr std::size_t write_handler_max_size = tracking + debug_write_iter + openssl_write_cost + 102 + 9 * sizeof(void*);
-+      constexpr std::size_t udp_handler_max_size = tracking + debug_tick + 144 + 9 * sizeof(void*);
-+      constexpr std::size_t utp_handler_max_size = tracking + debug_tick + 168 + 9 * sizeof(void*);
-+      constexpr std::size_t tick_handler_max_size = tracking + debug_tick + 168;
-       constexpr std::size_t abort_handler_max_size = tracking + debug_tick + 104;
-       constexpr std::size_t submit_handler_max_size = tracking + debug_tick + 104;
-       constexpr std::size_t deferred_handler_max_size = tracking + debug_tick + 112;
-@@ -124,12 +124,12 @@ namespace libtorrent { namespace aux {
- #endif
-       constexpr std::size_t write_handler_max_size = tracking + debug_write_iter + openssl_write_cost + fuzzer_write_cost + 168;
-       constexpr std::size_t read_handler_max_size = tracking + debug_read_iter + openssl_read_cost + fuzzer_read_cost + 168;
--      constexpr std::size_t udp_handler_max_size = tracking + 160;
--      constexpr std::size_t utp_handler_max_size = tracking + 184;
-+      constexpr std::size_t udp_handler_max_size = tracking + 168;
-+      constexpr std::size_t utp_handler_max_size = tracking + 192;
-       constexpr std::size_t abort_handler_max_size = tracking + 72;
-       constexpr std::size_t submit_handler_max_size = tracking + 72;
-       constexpr std::size_t deferred_handler_max_size = tracking + 80;
--      constexpr std::size_t tick_handler_max_size = tracking + 128;
-+      constexpr std::size_t tick_handler_max_size = tracking + 136;
- #endif
-       enum HandlerName