summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-12-17 20:25:35 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-12-17 20:25:53 +0100
commit45764c663860dd908384a7704b749ad7f950d01c (patch)
treebb72b6f71e09c376d0a77ae7033d2a9ab3d6bdde /kde-apps/kpat
parentkde-misc/wacomtablet: 3.1.1 version bump (diff)
downloadgentoo-45764c663860dd908384a7704b749ad7f950d01c.tar.gz
gentoo-45764c663860dd908384a7704b749ad7f950d01c.tar.bz2
gentoo-45764c663860dd908384a7704b749ad7f950d01c.zip
kde-apps/kpat: Fix build with Qt 5.11
Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/kpat')
-rw-r--r--kde-apps/kpat/files/kpat-18.04.3-qt-5.11.patch23
-rw-r--r--kde-apps/kpat/kpat-18.04.3.ebuild4
2 files changed, 26 insertions, 1 deletions
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 00000000000..d3c7b784361
--- /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 <jjm@keelhaul.me.uk>
+Date: Sat, 22 Sep 2018 16:56:04 +0100
+Subject: Needs include of <QBuffer> 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 <QList>
+ #include <QPointer>
+ #include <QTimer>
++#include <QBuffer>
+ #include <QXmlStreamReader>
+ #include <QDesktopWidget>
+ #include <QKeySequence>
+--
+cgit v1.1
diff --git a/kde-apps/kpat/kpat-18.04.3.ebuild b/kde-apps/kpat/kpat-18.04.3.ebuild
index a023a866ad0..f6681caac28 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" )