commit: 9a835c952dc74274bc842690d3437d0af7abb1d1 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Tue Aug 6 21:32:19 2019 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Tue Aug 6 21:43:07 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a835c95
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 <AT> gentoo.org> .../kpackage-5.60.0-qt-5.12.4-missing-header.patch | 39 ++++++++++++++++++++++ kde-frameworks/kpackage/kpackage-5.60.0.ebuild | 2 ++ 2 files changed, 41 insertions(+) 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?= <dvra...@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)