SHA256
1
0
forked from pool/qbittorrent
Files
qbittorrent/qbittorrent-altpython.patch
Luigi Baldoni 2deec17601 Accepting request 1120895 from home:alois:branches:network
- Reintroduce qbittorrent-fix_boost_1.66_build.patch that had
  been hastily removed and add qbittorrent-altpython.patch
  to use a newer python for plugins on Leap.

OBS-URL: https://build.opensuse.org/request/show/1120895
OBS-URL: https://build.opensuse.org/package/show/network/qbittorrent?expand=0&rev=237
2023-10-28 11:38:56 +00:00

14 lines
575 B
Diff

Index: qbittorrent-4.6.0/src/base/utils/foreignapps.cpp
===================================================================
--- qbittorrent-4.6.0.orig/src/base/utils/foreignapps.cpp
+++ qbittorrent-4.6.0/src/base/utils/foreignapps.cpp
@@ -256,7 +256,7 @@ PythonInfo Utils::ForeignApps::pythonInf
static PythonInfo pyInfo;
if (!pyInfo.isValid())
{
- if (testPythonInstallation(u"python3"_s, pyInfo))
+ if (testPythonInstallation(u"__PYTHON_ALT__"_s, pyInfo))
return pyInfo;
if (testPythonInstallation(u"python"_s, pyInfo))