commit:     7a6bb58976a8f5a656b708a24397feac7927dae8
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 11 12:28:09 2018 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Thu Oct 11 12:28:30 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a6bb589

app-editors/notepadqq: fix build with Qt 5.11

Close: https://bugs.gentoo.org/665286
Signed-off-by: Michael Palimaka <kensington <AT> gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11

 .../notepadqq/files/notepadqq-1.4.8-qt-5.11.patch  | 26 ++++++++++++++++++++++
 app-editors/notepadqq/notepadqq-1.4.8.ebuild       |  4 +++-
 app-editors/notepadqq/notepadqq-9999.ebuild        |  4 +++-
 3 files changed, 32 insertions(+), 2 deletions(-)

diff --git a/app-editors/notepadqq/files/notepadqq-1.4.8-qt-5.11.patch 
b/app-editors/notepadqq/files/notepadqq-1.4.8-qt-5.11.patch
new file mode 100644
index 00000000000..d656bd92094
--- /dev/null
+++ b/app-editors/notepadqq/files/notepadqq-1.4.8-qt-5.11.patch
@@ -0,0 +1,26 @@
+Bug: https://bugs.gentoo.org/665286
+
+From 8fabccfe2682583f5190b84dbc1922cce9c8d82b Mon Sep 17 00:00:00 2001
+From: Michael Palimaka <[email protected]>
+Date: Thu, 11 Oct 2018 23:23:08 +1100
+Subject: [PATCH] Add missing include.
+
+---
+ src/ui/EditorNS/languageservice.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/ui/EditorNS/languageservice.cpp 
b/src/ui/EditorNS/languageservice.cpp
+index bbe03dc..9a0f212 100644
+--- a/src/ui/EditorNS/languageservice.cpp
++++ b/src/ui/EditorNS/languageservice.cpp
+@@ -6,6 +6,7 @@
+ #include <QJsonDocument>
+ #include <QJsonObject>
+ #include <QJsonValue>
++#include <QTextStream>
+ 
+ namespace EditorNS {
+ 
+-- 
+2.18.1
+

diff --git a/app-editors/notepadqq/notepadqq-1.4.8.ebuild 
b/app-editors/notepadqq/notepadqq-1.4.8.ebuild
index d85db1653d7..0ce0b7273f5 100644
--- a/app-editors/notepadqq/notepadqq-1.4.8.ebuild
+++ b/app-editors/notepadqq/notepadqq-1.4.8.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
@@ -32,6 +32,8 @@ DEPEND="
        dev-qt/qtsvg:5
 "
 
+PATCHES=( "${FILESDIR}/${P}-qt-5.11.patch" )
+
 src_prepare() {
        default
 

diff --git a/app-editors/notepadqq/notepadqq-9999.ebuild 
b/app-editors/notepadqq/notepadqq-9999.ebuild
index 9db258a3956..18d0df4c803 100644
--- a/app-editors/notepadqq/notepadqq-9999.ebuild
+++ b/app-editors/notepadqq/notepadqq-9999.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
@@ -33,6 +33,8 @@ DEPEND="
        dev-qt/qtsvg:5
 "
 
+PATCHES=( "${FILESDIR}/${P}-qt-5.11.patch" )
+
 src_prepare() {
        default
 

Reply via email to