From 3c066f078d55289e0fb40ca397322e5f0f0c07c4 Mon Sep 17 00:00:00 2001 From: Roxedus Date: Wed, 22 Nov 2023 23:28:38 +0100 Subject: [PATCH] attempt patch --- .../matrix_multi_build_and_release_artifacts.yml | 2 +- patches/qbittorrent/4.6.1/patch | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 patches/qbittorrent/4.6.1/patch diff --git a/.github/workflows/matrix_multi_build_and_release_artifacts.yml b/.github/workflows/matrix_multi_build_and_release_artifacts.yml index 9b298e290..a0228d31a 100644 --- a/.github/workflows/matrix_multi_build_and_release_artifacts.yml +++ b/.github/workflows/matrix_multi_build_and_release_artifacts.yml @@ -67,7 +67,7 @@ jobs: # mips64el, # riscv64, # ] - qbt_cross_name: [armhf, armv7, aarch64, x86_64, x86] + qbt_cross_name: [x86_64] qbt_libtorrent_version: ["1.2", "2.0"] qbt_build_tool: ["", cmake] include: diff --git a/patches/qbittorrent/4.6.1/patch b/patches/qbittorrent/4.6.1/patch new file mode 100644 index 000000000..56ad8ee16 --- /dev/null +++ b/patches/qbittorrent/4.6.1/patch @@ -0,0 +1,12 @@ +diff --git a/src/app/application.cpp b/src/app/application.cpp +index e22f2f670..38df74aac 100644 +--- a/src/app/application.cpp ++++ b/src/app/application.cpp +@@ -924,6 +924,7 @@ int Application::exec() + + tr("The WebUI administrator password was not set. A temporary password is provided for this session: %1").arg(tempPassword) + u'\n' + + tr("You should set your own password in program preferences.") + u'\n'; + printf("%s", qUtf8Printable(warning)); ++ fflush(stdout); // Necessary for environments (e.g. docker) where stdout is buffered + } + #endif // DISABLE_GUI + #endif // DISABLE_WEBUI