summaryrefslogtreecommitdiffstats
path: root/network/qbittorrent-qt5/desktop-fix.patch
diff options
context:
space:
mode:
author davidwoodfall2018-09-07 21:57:03 +0200
committer Willy Sudiarto Raharjo2018-09-08 03:37:44 +0200
commitfe25a9fd5bdc1964d1e25c66b9794c20e7f944ae (patch)
treed1369db94e537ecb1bf74252212a937d450b365a /network/qbittorrent-qt5/desktop-fix.patch
parent0e140061aae43ae4af93bc4f0f6a47e8e891e996 (diff)
downloadslackbuilds-fe25a9fd5bdc1964d1e25c66b9794c20e7f944ae.tar.gz
network/qbittorrent-qt5: Update to 4.1.2
Diffstat (limited to 'network/qbittorrent-qt5/desktop-fix.patch')
-rw-r--r--network/qbittorrent-qt5/desktop-fix.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/network/qbittorrent-qt5/desktop-fix.patch b/network/qbittorrent-qt5/desktop-fix.patch
new file mode 100644
index 0000000000..6f1d4b11a2
--- /dev/null
+++ b/network/qbittorrent-qt5/desktop-fix.patch
@@ -0,0 +1,29 @@
+From acdf9061fe5539c75604d2b7919cc434b2cebb02 Mon Sep 17 00:00:00 2001
+From: Eli Schwartz <eschwartz@archlinux.org>
+Date: Sun, 12 Aug 2018 23:14:44 -0400
+Subject: [PATCH] Fix regression that broke installing desktop file
+
+In commit 5d94db9c7940aee9af769ce314c1dd1be9ddc18c the desktop file was
+moved from src/ to dist/ but the relative path from src/src.pro was
+switched to an absolute path from the repository root. This broke
+detection of the file from within qmake.
+
+Fix by using the same $DIST_PATH used elsewhere for consistency, which
+uses ../dist/.
+---
+ unixconf.pri | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/unixconf.pri b/unixconf.pri
+index 3bb51975ff..164b835ef9 100644
+--- a/unixconf.pri
++++ b/unixconf.pri
+@@ -36,7 +36,7 @@ nogui:systemd {
+
+ # Menu Icon
+ !nogui {
+- menuicon.files = dist/unix/qbittorrent.desktop
++ menuicon.files = $$DIST_PATH/qbittorrent.desktop
+ menuicon.path = $$DATADIR/applications/
+ INSTALLS += menuicon
+