summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-08-06 23:32:19 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2019-08-06 23:43:07 +0200
commit9a835c952dc74274bc842690d3437d0af7abb1d1 (patch)
tree6d407b3b28f3feeb3b2d6484bc13d01989a50b7e /kde-frameworks/kpackage
parentdev-util/kdevelop-php: 5.4.0 version bump (diff)
downloadgentoo-9a835c952dc74274bc842690d3437d0af7abb1d1.tar.gz
gentoo-9a835c952dc74274bc842690d3437d0af7abb1d1.tar.bz2
gentoo-9a835c952dc74274bc842690d3437d0af7abb1d1.zip
kde-frameworks/kpackage: Fix build error caused by missing header
Package-Manager: Portage-2.3.71, Repoman-2.3.17 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-frameworks/kpackage')
-rw-r--r--kde-frameworks/kpackage/files/kpackage-5.60.0-qt-5.12.4-missing-header.patch39
-rw-r--r--kde-frameworks/kpackage/kpackage-5.60.0.ebuild2
2 files changed, 41 insertions, 0 deletions
diff --git a/kde-frameworks/kpackage/files/kpackage-5.60.0-qt-5.12.4-missing-header.patch b/kde-frameworks/kpackage/files/kpackage-5.60.0-qt-5.12.4-missing-header.patch
new file mode 100644
index 00000000000..793d387cf1d
--- /dev/null
+++ b/kde-frameworks/kpackage/files/kpackage-5.60.0-qt-5.12.4-missing-header.patch
@@ -0,0 +1,39 @@
+From 886f7f4004e55f4eb3d61c15ec10d64878fc1dbd Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Daniel=20Vr=C3=A1til?= <dvratil@kde.org>
+Date: Fri, 12 Jul 2019 12:19:25 +0200
+Subject: Fix build due to missing QVector include
+
+Summary:
+I get 'implicit instantiation of undefined template 'QVector<QString>'
+when building against Qt 5.12.4 without this change.
+
+Test Plan: Builds against Qt 5.12.4
+
+Reviewers: dfaure, davidedmundson
+
+Reviewed By: davidedmundson
+
+Subscribers: kde-frameworks-devel
+
+Tags: #frameworks
+
+Differential Revision: https://phabricator.kde.org/D22414
+---
+ src/kpackage/private/versionparser.cpp | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/src/kpackage/private/versionparser.cpp b/src/kpackage/private/versionparser.cpp
+index 71dcd08..2411d2a 100644
+--- a/src/kpackage/private/versionparser.cpp
++++ b/src/kpackage/private/versionparser.cpp
+@@ -21,6 +21,8 @@
+
+ #include "package.h"
+
++#include <QVector>
++
+
+ namespace KPackage
+ {
+--
+cgit v1.1
diff --git a/kde-frameworks/kpackage/kpackage-5.60.0.ebuild b/kde-frameworks/kpackage/kpackage-5.60.0.ebuild
index 9845939285d..0da3b829e88 100644
--- a/kde-frameworks/kpackage/kpackage-5.60.0.ebuild
+++ b/kde-frameworks/kpackage/kpackage-5.60.0.ebuild
@@ -20,6 +20,8 @@ DEPEND="
"
RDEPEND="${DEPEND}"
+PATCHES=( "${FILESDIR}/${P}-qt-5.12.4-missing-header.patch" )
+
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package man KF5DocTools)