summaryrefslogtreecommitdiff
path: root/lxqt-base/lxqt-config
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-04-16 10:55:08 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-04-16 10:55:08 +0100
commit0fc709fd141f14c01e9933d7693ac16d6744c8de (patch)
tree1cc4af3935bb4a863452fd9245ce54c9cb252a39 /lxqt-base/lxqt-config
parent3d4a61f6e3f899e17ca719301aa63781707a8e62 (diff)
lxqt-base/lxqt-config : fix building against qt 5.14
Diffstat (limited to 'lxqt-base/lxqt-config')
-rw-r--r--lxqt-base/lxqt-config/files/lxqt-config-0.14.1-qt-5.14-build.patch21
-rw-r--r--lxqt-base/lxqt-config/lxqt-config-0.14.1-r1.ebuild (renamed from lxqt-base/lxqt-config/lxqt-config-0.14.1.ebuild)2
2 files changed, 23 insertions, 0 deletions
diff --git a/lxqt-base/lxqt-config/files/lxqt-config-0.14.1-qt-5.14-build.patch b/lxqt-base/lxqt-config/files/lxqt-config-0.14.1-qt-5.14-build.patch
new file mode 100644
index 00000000..31b22cd6
--- /dev/null
+++ b/lxqt-base/lxqt-config/files/lxqt-config-0.14.1-qt-5.14-build.patch
@@ -0,0 +1,21 @@
+From cd7de12f2ebe5a2ad03c2086da4c3b5317a4506e Mon Sep 17 00:00:00 2001
+From: Chih-Hsuan Yen <yan12125@gmail.com>
+Date: Sun, 15 Dec 2019 09:32:55 +0800
+Subject: [PATCH] Fix building with Qt 5.14
+
+---
+ lxqt-config-input/touchpaddevice.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/lxqt-config-input/touchpaddevice.cpp b/lxqt-config-input/touchpaddevice.cpp
+index 31adbe5f..41690c2c 100644
+--- a/lxqt-config-input/touchpaddevice.cpp
++++ b/lxqt-config-input/touchpaddevice.cpp
+@@ -21,6 +21,7 @@
+ #include <cmath>
+ #include <QDebug>
+ #include <QX11Info>
++#include <QUrl>
+ #include <libudev.h>
+ #include <LXQt/Settings>
+ #include <X11/Xatom.h>
diff --git a/lxqt-base/lxqt-config/lxqt-config-0.14.1.ebuild b/lxqt-base/lxqt-config/lxqt-config-0.14.1-r1.ebuild
index 6789b6d6..693697f0 100644
--- a/lxqt-base/lxqt-config/lxqt-config-0.14.1.ebuild
+++ b/lxqt-base/lxqt-config/lxqt-config-0.14.1-r1.ebuild
@@ -51,6 +51,8 @@ RDEPEND="${DEPEND}
!lxqt-base/lxqt-l10n
"
+PATCHES=( ${FILESDIR}/${P}-qt-5.14-build.patch )
+
src_prepare() {
if use gtk; then
# Redcore Linux patch : hide no longer working appearance settings when using qgtk2 platform plugin