From: Andreas Sturmlechner Date: Mon, 17 Dec 2018 19:25:35 +0000 (+0100) Subject: kde-apps/kpat: Fix build with Qt 5.11 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=45764c663860dd908384a7704b749ad7f950d01c;p=gentoo.git kde-apps/kpat: Fix build with Qt 5.11 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner --- diff --git a/kde-apps/kpat/files/kpat-18.04.3-qt-5.11.patch b/kde-apps/kpat/files/kpat-18.04.3-qt-5.11.patch new file mode 100644 index 000000000000..d3c7b7843610 --- /dev/null +++ b/kde-apps/kpat/files/kpat-18.04.3-qt-5.11.patch @@ -0,0 +1,23 @@ +From 7a69e3f4b15a902c4008a428d5fbf0335526f49b Mon Sep 17 00:00:00 2001 +From: Jonathan Marten +Date: Sat, 22 Sep 2018 16:56:04 +0100 +Subject: Needs include of for Qt 5.11 + +--- + mainwindow.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/mainwindow.cpp b/mainwindow.cpp +index cec0685..a597717 100644 +--- a/mainwindow.cpp ++++ b/mainwindow.cpp +@@ -78,6 +78,7 @@ + #include + #include + #include ++#include + #include + #include + #include +-- +cgit v1.1 diff --git a/kde-apps/kpat/kpat-18.04.3.ebuild b/kde-apps/kpat/kpat-18.04.3.ebuild index a023a866ad02..f6681caac28b 100644 --- a/kde-apps/kpat/kpat-18.04.3.ebuild +++ b/kde-apps/kpat/kpat-18.04.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -34,3 +34,5 @@ DEPEND=" x11-misc/shared-mime-info " RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}/${P}-qt-5.11.patch" )