kde-misc/ktoshiba: Fix build with Qt 5.11
authorAndreas Sturmlechner <asturm@gentoo.org>
Wed, 24 Oct 2018 18:15:27 +0000 (20:15 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Wed, 24 Oct 2018 18:15:27 +0000 (20:15 +0200)
Closes: https://bugs.gentoo.org/669518
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

kde-misc/ktoshiba/files/ktoshiba-5.3.1-qt-5.11.patch [new file with mode: 0644]
kde-misc/ktoshiba/ktoshiba-5.3.1.ebuild

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 (file)
index 0000000..c7ec512
--- /dev/null
@@ -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>
index 4295ad18882d8ee7fada48df0a4c9dc3ade247a2..6bfd01a7e52c83d3999d5be6cfa69b39a7017909 100644 (file)
@@ -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