app-editors/notepadqq: fix build with Qt 5.11
authorMichael Palimaka <kensington@gentoo.org>
Thu, 11 Oct 2018 12:28:09 +0000 (23:28 +1100)
committerMichael Palimaka <kensington@gentoo.org>
Thu, 11 Oct 2018 12:28:30 +0000 (23:28 +1100)
Close: https://bugs.gentoo.org/665286
Signed-off-by: Michael Palimaka <kensington@gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11

app-editors/notepadqq/files/notepadqq-1.4.8-qt-5.11.patch [new file with mode: 0644]
app-editors/notepadqq/notepadqq-1.4.8.ebuild
app-editors/notepadqq/notepadqq-9999.ebuild

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 (file)
index 0000000..d656bd9
--- /dev/null
@@ -0,0 +1,26 @@
+Bug: https://bugs.gentoo.org/665286
+
+From 8fabccfe2682583f5190b84dbc1922cce9c8d82b Mon Sep 17 00:00:00 2001
+From: Michael Palimaka <kensington@gentoo.org>
+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
+
index d85db1653d712a8f79faea3690b4713c01d1d60f..0ce0b7273f52275343167b2f7581d2d6a916ea27 100644 (file)
@@ -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
 
index 9db258a39568f83438246c972ea4d1e62d282fb5..18d0df4c8035a5ab28dfabc434ccc8976c53a8b4 100644 (file)
@@ -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