summaryrefslogtreecommitdiffstats
path: root/qbittorrent/build
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2015-08-17 19:38:34 +0000
committer Eric Hameleers <alien@slackware.com>2015-08-17 19:38:34 +0000
commitacd28844d260eb5217af57a606a94a75a2f80db9 (patch)
tree196cfbe204ad07fbf8b82842d4576189def6efd7 /qbittorrent/build
parentd8d9df246595dc374cde4bd8b325608f4f23ad49 (diff)
downloadasb-acd28844d260eb5217af57a606a94a75a2f80db9.tar.gz
asb-acd28844d260eb5217af57a606a94a75a2f80db9.tar.xz
Initial revision
Diffstat (limited to 'qbittorrent/build')
-rw-r--r--qbittorrent/build/patches/qbittorrent_slack13_python27.diff14
1 files changed, 14 insertions, 0 deletions
diff --git a/qbittorrent/build/patches/qbittorrent_slack13_python27.diff b/qbittorrent/build/patches/qbittorrent_slack13_python27.diff
new file mode 100644
index 00000000..c8dfefab
--- /dev/null
+++ b/qbittorrent/build/patches/qbittorrent_slack13_python27.diff
@@ -0,0 +1,14 @@
+--- qbittorrent-3.2.3/src/core/misc.cpp.orig 2015-08-02 15:19:59.000000000 +0200
++++ qbittorrent-3.2.3/src/core/misc.cpp 2015-08-17 17:23:04.072000161 +0200
+@@ -304,6 +304,11 @@
+ executable = "python2";
+ return executable;
+ }
++ pythonProc.start("python2.7", QStringList() << "--version", QIODevice::ReadOnly);
++ if (pythonProc.waitForFinished() && pythonProc.exitCode() == 0) {
++ executable = "python2.7";
++ return executable;
++ }
+ #endif
+ // Look for "python" in Windows and in UNIX if "python2" and "python3" are
+ // not detected.