Hello community,

here is the log from the commit of package flameshot for openSUSE:Factory 
checked in at 2020-06-06 23:39:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/flameshot (Old)
 and      /work/SRC/openSUSE:Factory/.flameshot.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "flameshot"

Sat Jun  6 23:39:49 2020 rev:6 rq:811982 version:0.6.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/flameshot/flameshot.changes      2020-03-11 
18:50:18.847539878 +0100
+++ /work/SRC/openSUSE:Factory/.flameshot.new.3606/flameshot.changes    
2020-06-06 23:40:06.661048909 +0200
@@ -1,0 +2,6 @@
+Fri Jun  5 18:11:33 UTC 2020 - Christophe Giboudeaux <christo...@krop.fr>
+
+- 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:
------------------
++++++ flameshot.spec ++++++
--- /var/tmp/diff_new_pack.6D0vYH/_old  2020-06-06 23:40:07.385051181 +0200
+++ /var/tmp/diff_new_pack.6D0vYH/_new  2020-06-06 23:40:07.389051194 +0200
@@ -26,6 +26,8 @@
 Source0:        
https://github.com/lupoDharkael/flameshot/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Patch1:         desktop-files.patch
 Patch2:         0001-utils-confighandler.cpp-Enable-Pin-and-Text-tool-by-.patch
+# PATCH-FIX-UPSTREAM
+Patch3:         0001-Fix-build-with-Qt-5.15.patch
 BuildRequires:  hicolor-icon-theme
 BuildRequires:  libqt5-linguist
 BuildRequires:  libqt5-qtbase

++++++ 0001-Fix-build-with-Qt-5.15.patch ++++++
>From 7f71d7b018e2696f0f884e5cc6c84f77c27e8b82 Mon Sep 17 00:00:00 2001
From: Christophe Giboudeaux <christo...@krop.fr>
Date: Fri, 5 Jun 2020 20:18:22 +0200
Subject: [PATCH] Fix build with Qt 5.15

---
 src/third-party/Qt-Color-Widgets/src/color_wheel.cpp | 1 +
 src/tools/arrow/arrowtool.h                          | 1 +
 2 files changed, 2 insertions(+)

diff --git a/src/third-party/Qt-Color-Widgets/src/color_wheel.cpp 
b/src/third-party/Qt-Color-Widgets/src/color_wheel.cpp
index 335b29c..a9a6fba 100644
--- a/src/third-party/Qt-Color-Widgets/src/color_wheel.cpp
+++ b/src/third-party/Qt-Color-Widgets/src/color_wheel.cpp
@@ -24,6 +24,7 @@
 #include <cmath>
 #include <QMouseEvent>
 #include <QPainter>
+#include <QPainterPath>
 #include <QLineF>
 #include <QDragEnterEvent>
 #include <QMimeData>
diff --git a/src/tools/arrow/arrowtool.h b/src/tools/arrow/arrowtool.h
index abdbe33..1dd0471 100644
--- a/src/tools/arrow/arrowtool.h
+++ b/src/tools/arrow/arrowtool.h
@@ -19,6 +19,7 @@
 
 #include "src/tools/abstracttwopointtool.h"
 #include <QPainter>
+#include <QPainterPath>
 
 class ArrowTool : public AbstractTwoPointTool {
     Q_OBJECT
-- 
2.26.2


Reply via email to