Skip to content

Commit

Permalink
lxqt-base/liblxqt: fix build with Qt 5.14
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/703596
Package-Manager: Portage-2.3.82, Repoman-2.3.20
Signed-off-by: Jimi Huotari <[email protected]>
Closes: gentoo#14108
Signed-off-by: Andreas Sturmlechner <[email protected]>
  • Loading branch information
Chiitoo authored and a17r committed Dec 23, 2019
1 parent 5b644cb commit 9dc3a09
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
24 changes: 24 additions & 0 deletions lxqt-base/liblxqt/files/liblxqt-0.14.1-qt-5.14-build.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
From 534c6f6b5240daa81a2b6206a8ec028a69ee5c2d Mon Sep 17 00:00:00 2001
From: Jimi Huotari <[email protected]>
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 <QApplication>
#include <QDesktopWidget>
#include <QtDebug>
+#include <QFile>
#include "lxqttranslator.h"
#include "lxqtglobals.h"
#include "lxqtsettings.h"
--
2.24.1

2 changes: 2 additions & 0 deletions lxqt-base/liblxqt/liblxqt-0.14.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ fi
LICENSE="LGPL-2.1+ BSD"
SLOT="0/$(ver_cut 1-2)"

PATCHES=( "${FILESDIR}/${P}-qt-5.14-build.patch" ) # Bug 703596

BDEPEND="
dev-qt/linguist-tools:5
>=dev-util/lxqt-build-tools-0.6.0
Expand Down

0 comments on commit 9dc3a09

Please sign in to comment.