summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-editors/focuswriter/files/focuswriter-1.7.5-qt-5.15-build.patch')
-rw-r--r--app-editors/focuswriter/files/focuswriter-1.7.5-qt-5.15-build.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/app-editors/focuswriter/files/focuswriter-1.7.5-qt-5.15-build.patch b/app-editors/focuswriter/files/focuswriter-1.7.5-qt-5.15-build.patch
new file mode 100644
index 000000000000..c59946f354fa
--- /dev/null
+++ b/app-editors/focuswriter/files/focuswriter-1.7.5-qt-5.15-build.patch
@@ -0,0 +1,26 @@
+From 026fb9b1fbfa8040815ac524b6002f93b6411d45 Mon Sep 17 00:00:00 2001
+From: Jimi Huotari <chiitoo@gentoo.org>
+Date: Mon, 20 Apr 2020 22:58:48 +0300
+Subject: [PATCH] Fix build against Qt 5.15.
+
+Due to a change in Qt, 'QPainterPath' needs to be explicitly
+included.
+---
+ src/theme.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/theme.cpp b/src/theme.cpp
+index 4708338..59551ea 100644
+--- a/src/theme.cpp
++++ b/src/theme.cpp
+@@ -27,6 +27,7 @@
+ #include <QFile>
+ #include <QImageReader>
+ #include <QPainter>
++#include <QPainterPath>
+ #include <QSettings>
+ #include <QTextEdit>
+ #include <QUuid>
+--
+2.26.1
+