Removed unneded patch file

This commit is contained in:
krizsipeti 2022-12-15 01:53:05 +01:00
parent 2d4ed31892
commit 1def43b94b
2 changed files with 0 additions and 50 deletions

View File

@ -1,7 +1,6 @@
#!/bin/bash
# Add libtorrent-rasterbar
#cp -fv libtorrent-rasterbar-2.0.5-update-allocator-sizes-for-boost-1.78.patch /sources
cp -fv networking/netlibs/libtorrent-rasterbar.xml ../blfs_root/blfs-xml/networking/netlibs
grep -qF libtorrent-rasterbar.xml ../blfs_root/blfs-xml/networking/netlibs/netlibs.xml || sed -i '/<\/chapter>.*/i <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libtorrent-rasterbar.xml"/>' ../blfs_root/blfs-xml/networking/netlibs/netlibs.xml
grep -qF libtorrent-rasterbar-version ../blfs_root/blfs-xml/packages.ent || echo '<!ENTITY libtorrent-rasterbar-version "2.0.8">' >> ../blfs_root/blfs-xml/packages.ent

View File

@ -1,49 +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(-)
diff --git a/include/libtorrent/aux_/allocating_handler.hpp b/include/libtorrent/aux_/allocating_handler.hpp
index 726032e08..7096dfd2e 100644
--- 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
--
2.35.1