forked from pool/qbittorrent
- 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
14 lines
575 B
Diff
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))
|