commit:     abdd68c0fd6d25581387d76d14b6228f0582fa73
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 10 19:45:40 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Apr 10 20:09:27 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abdd68c0

app-editors/juffed: Fix build with Qt-5.11

Package-Manager: Portage-2.3.28, Repoman-2.3.9

 .../files/juffed-0.10_p20160323-qt-5.11.patch      | 28 ++++++++++++++++++++++
 app-editors/juffed/juffed-0.10_p20160323-r1.ebuild |  5 +++-
 2 files changed, 32 insertions(+), 1 deletion(-)

diff --git a/app-editors/juffed/files/juffed-0.10_p20160323-qt-5.11.patch 
b/app-editors/juffed/files/juffed-0.10_p20160323-qt-5.11.patch
new file mode 100644
index 00000000000..4dfa7fae31f
--- /dev/null
+++ b/app-editors/juffed/files/juffed-0.10_p20160323-qt-5.11.patch
@@ -0,0 +1,28 @@
+From cb10c88a091c62c29054138a2da69d05cbf1e406 Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <ast...@gentoo.org>
+Date: Tue, 10 Apr 2018 19:43:17 +0200
+Subject: [PATCH] Fix build with Qt 5.11
+
+---
+ plugins/keybindings/KeysPage.cpp | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/plugins/keybindings/KeysPage.cpp 
b/plugins/keybindings/KeysPage.cpp
+index 6579e3e..e68b039 100644
+--- a/plugins/keybindings/KeysPage.cpp
++++ b/plugins/keybindings/KeysPage.cpp
+@@ -1,9 +1,10 @@
+ #include "KeysPage.h"
+ 
+-#include <QPushButton>
++#include <QAction>
+ #include <QHeaderView>
+ #include <QKeyEvent>
+ #include <QMessageBox>
++#include <QPushButton>
+ 
+ #include "KeySettings.h"
+ #include "Log.h"
+-- 
+2.17.0
+

diff --git a/app-editors/juffed/juffed-0.10_p20160323-r1.ebuild 
b/app-editors/juffed/juffed-0.10_p20160323-r1.ebuild
index e8118beedc9..97e18f2d896 100644
--- a/app-editors/juffed/juffed-0.10_p20160323-r1.ebuild
+++ b/app-editors/juffed/juffed-0.10_p20160323-r1.ebuild
@@ -29,7 +29,10 @@ DEPEND="${RDEPEND}"
 
 DOCS=( ChangeLog README )
 
-PATCHES=( "${FILESDIR}/${P}-qscintilla-2.10.patch" )
+PATCHES=(
+       "${FILESDIR}/${P}-qscintilla-2.10.patch"
+       "${FILESDIR}/${P}-qt-5.11.patch"
+)
 
 src_prepare() {
        # Upstream version outdated/dysfunctional and CRLF terminated

Reply via email to