Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Mar 2024 20:09:31 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 388ecd7ffef7 - main - net-p2p/qbittorrent: Fix patch when LIBTORRENT2 is enabled
Message-ID:  <202403132009.42DK9Vx4055487@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

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

commit 388ecd7ffef779aeb1b8e867c13217c061def9ee
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-03-13 14:45:02 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-03-13 20:09:26 +0000

    net-p2p/qbittorrent: Fix patch when LIBTORRENT2 is enabled
    
    Reported by:    Martin von Reichenberg <martin.von.reichenberg@proton.me>
---
 .../extrapatch-libtorrent-rasterbar2-settings      | 24 ++++++++--------------
 1 file changed, 9 insertions(+), 15 deletions(-)

diff --git a/net-p2p/qbittorrent/files/extrapatch-libtorrent-rasterbar2-settings b/net-p2p/qbittorrent/files/extrapatch-libtorrent-rasterbar2-settings
index 673afe7f73fe..700fdcd69ce9 100644
--- a/net-p2p/qbittorrent/files/extrapatch-libtorrent-rasterbar2-settings
+++ b/net-p2p/qbittorrent/files/extrapatch-libtorrent-rasterbar2-settings
@@ -1,17 +1,11 @@
---- src/base/bittorrent/sessionimpl.cpp.orig	2023-02-27 22:40:57 UTC
+--- src/base/bittorrent/sessionimpl.cpp.orig	2024-01-14 23:45:17 UTC
 +++ src/base/bittorrent/sessionimpl.cpp
-@@ -396,12 +396,12 @@ SessionImpl::SessionImpl(QObject *parent)
-     , m_announceToAllTiers(BITTORRENT_SESSION_KEY(u"AnnounceToAllTiers"_qs), true)
-     , m_asyncIOThreads(BITTORRENT_SESSION_KEY(u"AsyncIOThreadsCount"_qs), 10)
-     , m_hashingThreads(BITTORRENT_SESSION_KEY(u"HashingThreadsCount"_qs), 1)
--    , m_filePoolSize(BITTORRENT_SESSION_KEY(u"FilePoolSize"_qs), 5000)
-+    , m_filePoolSize(BITTORRENT_SESSION_KEY(u"FilePoolSize"_qs), 500)
-     , m_checkingMemUsage(BITTORRENT_SESSION_KEY(u"CheckingMemUsageSize"_qs), 32)
-     , m_diskCacheSize(BITTORRENT_SESSION_KEY(u"DiskCacheSize"_qs), -1)
-     , m_diskCacheTTL(BITTORRENT_SESSION_KEY(u"DiskCacheTTL"_qs), 60)
-     , m_diskQueueSize(BITTORRENT_SESSION_KEY(u"DiskQueueSize"_qs), (1024 * 1024))
--    , m_diskIOType(BITTORRENT_SESSION_KEY(u"DiskIOType"_qs), DiskIOType::Default)
-+    , m_diskIOType(BITTORRENT_SESSION_KEY(u"DiskIOType"_qs), DiskIOType::Posix)
-     , m_diskIOReadMode(BITTORRENT_SESSION_KEY(u"DiskIOReadMode"_qs), DiskIOReadMode::EnableOSCache)
-     , m_diskIOWriteMode(BITTORRENT_SESSION_KEY(u"DiskIOWriteMode"_qs), DiskIOWriteMode::EnableOSCache)
+@@ -420,7 +420,7 @@ SessionImpl::SessionImpl(QObject *parent)
+     , m_diskCacheSize(BITTORRENT_SESSION_KEY(u"DiskCacheSize"_s), -1)
+     , m_diskCacheTTL(BITTORRENT_SESSION_KEY(u"DiskCacheTTL"_s), 60)
+     , m_diskQueueSize(BITTORRENT_SESSION_KEY(u"DiskQueueSize"_s), (1024 * 1024))
+-    , m_diskIOType(BITTORRENT_SESSION_KEY(u"DiskIOType"_s), DiskIOType::Default)
++    , m_diskIOType(BITTORRENT_SESSION_KEY(u"DiskIOType"_s), DiskIOType::Posix)
+     , m_diskIOReadMode(BITTORRENT_SESSION_KEY(u"DiskIOReadMode"_s), DiskIOReadMode::EnableOSCache)
+     , m_diskIOWriteMode(BITTORRENT_SESSION_KEY(u"DiskIOWriteMode"_s), DiskIOWriteMode::EnableOSCache)
  #ifdef Q_OS_WIN



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403132009.42DK9Vx4055487>