commit:     cc4b5436d6e45bf56c6b08f726b810254851c50e
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 24 18:15:27 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Oct 24 18:15:27 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc4b5436

kde-misc/ktoshiba: Fix build with Qt 5.11

Closes: https://bugs.gentoo.org/669518
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 kde-misc/ktoshiba/files/ktoshiba-5.3.1-qt-5.11.patch | 10 ++++++++++
 kde-misc/ktoshiba/ktoshiba-5.3.1.ebuild              |  5 +++--
 2 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/kde-misc/ktoshiba/files/ktoshiba-5.3.1-qt-5.11.patch 
b/kde-misc/ktoshiba/files/ktoshiba-5.3.1-qt-5.11.patch
new file mode 100644
index 00000000000..c7ec51226ad
--- /dev/null
+++ b/kde-misc/ktoshiba/files/ktoshiba-5.3.1-qt-5.11.patch
@@ -0,0 +1,10 @@
+--- a/src/fnactions.cpp        2016-06-06 17:41:50.425121940 +0200
++++ b/src/fnactions.cpp        2018-10-24 20:10:45.872718660 +0200
+@@ -17,6 +17,7 @@
+ */
+ 
+ #include <QDesktopWidget>
++#include <QIcon>
+ #include <QTimer>
+ 
+ #include <KLocalizedString>

diff --git a/kde-misc/ktoshiba/ktoshiba-5.3.1.ebuild 
b/kde-misc/ktoshiba/ktoshiba-5.3.1.ebuild
index 4295ad18882..6bfd01a7e52 100644
--- a/kde-misc/ktoshiba/ktoshiba-5.3.1.ebuild
+++ b/kde-misc/ktoshiba/ktoshiba-5.3.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -28,11 +28,12 @@ RDEPEND="
        $(add_qt_dep qtwidgets)
        net-libs/libmnl
 "
-
 DEPEND="${RDEPEND}
        sys-devel/gettext
 "
 
+PATCHES=( "${FILESDIR}/${P}-qt-5.11.patch" )
+
 src_configure() {
        local mycmakeargs=(
                -DLIBMNL_INCLUDE_DIRS=/usr/include/libmnl

Reply via email to