dev-util/kdevelop-python: Fix build with Qt 5.11

Package-Manager: Portage-2.3.36, Repoman-2.3.9
This commit is contained in:
Andreas Sturmlechner
2018-05-10 08:59:08 +02:00
parent eb0068985d
commit 68decc065c
2 changed files with 26 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
From a4a3cfb040054e7ca938bdd593c6c3c80d80807f Mon Sep 17 00:00:00 2001
From: Luca Beltrame <lbeltrame@kde.org>
Date: Thu, 10 May 2018 06:55:07 +0200
Subject: Fix build with Qt 5.11
Some includes were added transitively, now they need to be explicit.
---
codegen/correctionfilegenerator.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/codegen/correctionfilegenerator.cpp b/codegen/correctionfilegenerator.cpp
index bb79a25..53ebec4 100644
--- a/codegen/correctionfilegenerator.cpp
+++ b/codegen/correctionfilegenerator.cpp
@@ -20,6 +20,7 @@
#include "correctionfilegenerator.h"
+#include <QAction>
#include <QTemporaryFile>
#include <language/backgroundparser/backgroundparser.h>
--
cgit v0.11.2

View File

@@ -39,6 +39,8 @@ RDEPEND="${DEPEND}
RESTRICT+=" test"
PATCHES=( "${FILESDIR}/${P}-qt-5.11.patch" )
pkg_setup() {
python-single-r1_pkg_setup
kde5_pkg_setup