lxqt-base/lxqt-globalkeys: fix build with Qt 5.14
authorJimi Huotari <chiitoo@gentoo.org>
Mon, 23 Dec 2019 19:11:37 +0000 (21:11 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Mon, 23 Dec 2019 21:45:16 +0000 (22:45 +0100)
Package-Manager: Portage-2.3.82, Repoman-2.3.20
Signed-off-by: Jimi Huotari <chiitoo@gentoo.org>
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
lxqt-base/lxqt-globalkeys/files/lxqt-globalkeys-0.14.1-qt-5.14-build.patch [new file with mode: 0644]
lxqt-base/lxqt-globalkeys/lxqt-globalkeys-0.14.1.ebuild
lxqt-base/lxqt-globalkeys/lxqt-globalkeys-0.14.3.ebuild

diff --git a/lxqt-base/lxqt-globalkeys/files/lxqt-globalkeys-0.14.1-qt-5.14-build.patch b/lxqt-base/lxqt-globalkeys/files/lxqt-globalkeys-0.14.1-qt-5.14-build.patch
new file mode 100644 (file)
index 0000000..b545f5d
--- /dev/null
@@ -0,0 +1,21 @@
+From c9ec69850428e599fba282c32e51868b815e3019 Mon Sep 17 00:00:00 2001
+From: Chih-Hsuan Yen <yan12125@gmail.com>
+Date: Sun, 15 Dec 2019 09:33:12 +0800
+Subject: [PATCH] Fix building with Qt 5.14
+
+---
+ daemon/core.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/daemon/core.cpp b/daemon/core.cpp
+index 1be64ec..53bdf7b 100644
+--- a/daemon/core.cpp
++++ b/daemon/core.cpp
+@@ -33,6 +33,7 @@
+ #include <QTimer>
+ #include <QDBusConnectionInterface>
+ #include <QDBusServiceWatcher>
++#include <QFile>
+ #include <cstddef>
+ #include <cstdlib>
index 49dee3033b360fdaedafaffc68dc05b025059515..aad48dd06564777ff63dbaac49df81c6bfec5a60 100644 (file)
@@ -19,6 +19,8 @@ fi
 LICENSE="LGPL-2.1+"
 SLOT="0"
 
+PATCHES=( "${FILESDIR}/${P}-qt-5.14-build.patch" )
+
 BDEPEND="
        dev-qt/linguist-tools:5
        >=dev-util/lxqt-build-tools-0.6.0
index 61c059834d6d03dc33045a9dbe69d654c8ea615c..bb7cf41bf3ccf916661b6c14b9d98b128394a28d 100644 (file)
@@ -19,6 +19,8 @@ fi
 LICENSE="LGPL-2.1+"
 SLOT="0"
 
+PATCHES=( "${FILESDIR}/${PN}-0.14.1-qt-5.14-build.patch" )
+
 BDEPEND="
        dev-qt/linguist-tools:5
        >=dev-util/lxqt-build-tools-0.6.0