Hello community,

here is the log from the commit of package ghostwriter for openSUSE:Factory 
checked in at 2020-06-05 20:21:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghostwriter (Old)
 and      /work/SRC/openSUSE:Factory/.ghostwriter.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghostwriter"

Fri Jun  5 20:21:02 2020 rev:16 rq:811629 version:1.8.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghostwriter/ghostwriter.changes  2020-02-24 
15:57:17.236106783 +0100
+++ /work/SRC/openSUSE:Factory/.ghostwriter.new.3606/ghostwriter.changes        
2020-06-05 20:27:30.897039201 +0200
@@ -1,0 +2,6 @@
+Thu Jun  4 17:03:38 UTC 2020 - Christophe Giboudeaux <[email protected]>
+
+- Add patch to fix build with Qt 5.15:
+  * 0001-Fix-build-with-Qt-5.15.patch
+
+-------------------------------------------------------------------

New:
----
  0001-Fix-build-with-Qt-5.15.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghostwriter.spec ++++++
--- /var/tmp/diff_new_pack.mDrAu6/_old  2020-06-05 20:27:32.705044846 +0200
+++ /var/tmp/diff_new_pack.mDrAu6/_new  2020-06-05 20:27:32.709044859 +0200
@@ -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 @@
 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 @@
 %lang_package
 
 %prep
-%autosetup
+%autosetup -p1
 
 %build
 lrelease-qt5 %{name}.pro

++++++ 0001-Fix-build-with-Qt-5.15.patch ++++++
>From f7e27056d8c935c353de29e7f45a6b04a5be5b2e Mon Sep 17 00:00:00 2001
From: Christophe Giboudeaux <[email protected]>
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


Reply via email to