From 6aed5de010ac875f61641ad63bfe2e5fcc47a309 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 19 Apr 2020 20:15:41 +0100 Subject: lxqt-base/liblxqt : fix building against qt 5.14 --- .../files/liblxqt-0.14.1-qt-5.14-build.patch | 24 ++++++++++++++++++++++ lxqt-base/liblxqt/liblxqt-0.14.1.ebuild | 2 ++ 2 files changed, 26 insertions(+) create mode 100644 lxqt-base/liblxqt/files/liblxqt-0.14.1-qt-5.14-build.patch diff --git a/lxqt-base/liblxqt/files/liblxqt-0.14.1-qt-5.14-build.patch b/lxqt-base/liblxqt/files/liblxqt-0.14.1-qt-5.14-build.patch new file mode 100644 index 00000000..54fd9067 --- /dev/null +++ b/lxqt-base/liblxqt/files/liblxqt-0.14.1-qt-5.14-build.patch @@ -0,0 +1,24 @@ +From 534c6f6b5240daa81a2b6206a8ec028a69ee5c2d Mon Sep 17 00:00:00 2001 +From: Jimi Huotari +Date: Mon, 23 Dec 2019 21:20:16 +0200 +Subject: [PATCH] Fix build with Qt 5.14. + +--- + lxqtpowermanager.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/lxqtpowermanager.cpp b/lxqtpowermanager.cpp +index aef5ca2..b0926f9 100644 +--- a/lxqtpowermanager.cpp ++++ b/lxqtpowermanager.cpp +@@ -32,6 +32,7 @@ + #include + #include + #include ++#include + #include "lxqttranslator.h" + #include "lxqtglobals.h" + #include "lxqtsettings.h" +-- +2.24.1 + diff --git a/lxqt-base/liblxqt/liblxqt-0.14.1.ebuild b/lxqt-base/liblxqt/liblxqt-0.14.1.ebuild index 536de0b1..974d5625 100644 --- a/lxqt-base/liblxqt/liblxqt-0.14.1.ebuild +++ b/lxqt-base/liblxqt/liblxqt-0.14.1.ebuild @@ -19,6 +19,8 @@ fi LICENSE="LGPL-2.1+ BSD" SLOT="0/$(ver_cut 1-2)" +PATCHES=( "${FILESDIR}/${P}-qt-5.14-build.patch" ) + BDEPEND=" dev-qt/linguist-tools:5 >=lxqt-base/lxqt-build-tools-0.6.0 -- cgit v1.2.3