commit:     cdae0ef9e87e7f7b6aa87482a427c4c393f4b76a
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 18 17:20:31 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Jun 18 17:20:31 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdae0ef9

app-editors/ghostwriter: Fix build with Qt 5.15

Closes: https://bugs.gentoo.org/728408
Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 .../files/ghostwriter-1.8.1-qt-5.15.patch           | 21 +++++++++++++++++++++
 app-editors/ghostwriter/ghostwriter-1.8.1.ebuild    |  5 ++++-
 2 files changed, 25 insertions(+), 1 deletion(-)

diff --git a/app-editors/ghostwriter/files/ghostwriter-1.8.1-qt-5.15.patch 
b/app-editors/ghostwriter/files/ghostwriter-1.8.1-qt-5.15.patch
new file mode 100644
index 00000000000..0f7425ff35e
--- /dev/null
+++ b/app-editors/ghostwriter/files/ghostwriter-1.8.1-qt-5.15.patch
@@ -0,0 +1,21 @@
+From f8f4ec0a1b53d1f3e670817f051c59444851cf7f Mon Sep 17 00:00:00 2001
+From: Jakob Gahde <[email protected]>
+Date: Tue, 9 Jun 2020 10:30:44 +0200
+Subject: [PATCH] Fix build error with Qt 5.15
+
+---
+ src/MarkdownEditor.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/MarkdownEditor.cpp b/src/MarkdownEditor.cpp
+index c5e46d5..c103173 100644
+--- a/src/MarkdownEditor.cpp
++++ b/src/MarkdownEditor.cpp
+@@ -30,6 +30,7 @@
+ #include <QUrl>
+ #include <QPixmap>
+ #include <QPainter>
++#include <QPainterPath>
+ #include <QFileInfo>
+ #include <QDir>
+ 

diff --git a/app-editors/ghostwriter/ghostwriter-1.8.1.ebuild 
b/app-editors/ghostwriter/ghostwriter-1.8.1.ebuild
index 0943a04747d..eb51f8371cc 100644
--- a/app-editors/ghostwriter/ghostwriter-1.8.1.ebuild
+++ b/app-editors/ghostwriter/ghostwriter-1.8.1.ebuild
@@ -30,7 +30,10 @@ DEPEND="${RDEPEND}"
 
 DOCS=( CREDITS.md README.md )
 
-PATCHES=( "${FILESDIR}/${P}-appdata-path.patch" )
+PATCHES=(
+       "${FILESDIR}/${P}-appdata-path.patch"
+       "${FILESDIR}/${P}-qt-5.15.patch" # git master
+)
 
 src_prepare() {
        default

Reply via email to