bump(x11/qbittorrent): 5.1.1

This commit is contained in:
termux-pacman-bot
2025-06-23 06:08:39 +00:00
parent 1dcdb0af1e
commit 4ac7e7213e
2 changed files with 16 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
--- a/src/base/utils/randomlayer_linux.cpp
+++ b/src/base/utils/randomlayer_linux.cpp
@@ -34,6 +34,9 @@
@@ -35,6 +35,9 @@
#include <QtLogging>
@@ -10,7 +10,19 @@
namespace
{
class RandomLayer
@@ -63,7 +66,11 @@ namespace
@@ -45,7 +48,11 @@
RandomLayer()
{
+#if defined(__ANDROID__) && __ANDROID_API__ < 28
+ if (syscall(__NR_getrandom, nullptr, 0, 0) < 0)
+#else
if (::getrandom(nullptr, 0, 0) < 0)
+#endif
{
if (errno == ENOSYS)
{
@@ -93,7 +100,11 @@
for (int i = 0; i < RETRY_MAX; ++i)
{
result_type buf = 0;

View File

@@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://www.qbittorrent.org/
TERMUX_PKG_DESCRIPTION="A Qt6 based BitTorrent client"
TERMUX_PKG_LICENSE="GPL-2.0, GPL-3.0"
TERMUX_PKG_MAINTAINER="Joshua Kahn @TomJo2000"
TERMUX_PKG_VERSION="5.1.0"
TERMUX_PKG_VERSION="5.1.1"
TERMUX_PKG_SRCURL=https://github.com/qbittorrent/qBittorrent/archive/refs/tags/release-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=ac54cd8b3c6035cfcd684be5afd0eccc8c5fbbc3008a9b6f9ba42f6ef91105af
TERMUX_PKG_SHA256=09edaf7b0277c46f6653faed362e62d3daab5fdbeb3e15fb95493756e05e7a44
TERMUX_PKG_BUILD_DEPENDS="qt6-qtsvg, qt6-qttools, boost"
TERMUX_PKG_DEPENDS="libc++, libtorrent-rasterbar, openssl, qt6-qtbase, zlib"
TERMUX_PKG_RECOMMENDS="python"