Dominique Leuenberger 2020-06-05 18:21:02 +00:00 committed by Git OBS Bridge
commit db57b478cd
3 changed files with 34 additions and 2 deletions

View File

@ -0,0 +1,24 @@
From f7e27056d8c935c353de29e7f45a6b04a5be5b2e Mon Sep 17 00:00:00 2001
From: Christophe Giboudeaux <christophe@krop.fr>
Date: Thu, 4 Jun 2020 19:03:01 +0200
Subject: [PATCH] Fix build with Qt 5.15
---
src/MarkdownEditor.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/MarkdownEditor.cpp b/src/MarkdownEditor.cpp
index 2e4a9a1..39ddadb 100644
--- a/src/MarkdownEditor.cpp
+++ b/src/MarkdownEditor.cpp
@@ -36,6 +36,7 @@
#include <QPainter>
#include <QFileInfo>
#include <QDir>
+#include <QPainterPath>
#include "ColorHelper.h"
#include "MarkdownEditor.h"
--
2.26.2

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jun 4 17:03:38 UTC 2020 - Christophe Giboudeaux <christophe@krop.fr>
- Add patch to fix build with Qt 5.15:
* 0001-Fix-build-with-Qt-5.15.patch
-------------------------------------------------------------------
Mon Feb 24 08:19:31 UTC 2020 - Sebastien CHAVAUX <seb95passionlinux@opensuse.org>

View File

@ -1,7 +1,7 @@
#
# spec file for package ghostwriter
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -24,6 +24,8 @@ License: GPL-3.0-or-later
Group: Productivity/Text/Editors
URL: https://wereturtle.github.io/ghostwriter
Source: https://github.com/wereturtle/ghostwriter/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
# PATCH-FIX-UPSTREAM
Patch0: 0001-Fix-build-with-Qt-5.15.patch
BuildRequires: gcc-c++
BuildRequires: hicolor-icon-theme
BuildRequires: libqt5-linguist
@ -58,7 +60,7 @@ provides a relaxing, distraction-free writing environment.
%lang_package
%prep
%autosetup
%autosetup -p1
%build
lrelease-qt5 %{name}.pro