Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package qactus for openSUSE:Factory checked 
in at 2021-10-06 19:49:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/qactus (Old)
 and      /work/SRC/openSUSE:Factory/.qactus.new.2443 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "qactus"

Wed Oct  6 19:49:57 2021 rev:11 rq:923501 version:2.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/qactus/qactus.changes    2021-09-20 
23:34:35.995280815 +0200
+++ /work/SRC/openSUSE:Factory/.qactus.new.2443/qactus.changes  2021-10-06 
19:50:08.148061872 +0200
@@ -1,0 +2,6 @@
+Tue Oct  5 21:15:20 UTC 2021 - Javier Llorente <[email protected]>
+
+- Fix build for openSUSE Leap 15.2 and 15.3
+  * qactus-fix-leap-build.patch 
+
+-------------------------------------------------------------------

New:
----
  qactus-fix-leap-build.patch

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

Other differences:
------------------
++++++ qactus.spec ++++++
--- /var/tmp/diff_new_pack.yM3gul/_old  2021-10-06 19:50:08.764062105 +0200
+++ /var/tmp/diff_new_pack.yM3gul/_new  2021-10-06 19:50:08.768062107 +0200
@@ -30,6 +30,8 @@
 Group:          Development/Tools/Building
 URL:            https://github.com/javierllorente/qactus
 Source:         %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM qactus-fix-leap-build.patch
+Patch0:         qactus-fix-leap-build.patch
 BuildRequires:  cmake >= 3.5
 BuildRequires:  cmake(Qt5Core)
 BuildRequires:  cmake(Qt5Gui)

++++++ qactus-fix-leap-build.patch ++++++
>From 337e1a70b1b9a70046f7afde6a59205293d1dac4 Mon Sep 17 00:00:00 2001
From: Javier Llorente <[email protected]>
Date: Tue, 5 Oct 2021 23:36:26 +0200
Subject: [PATCH] Fix build for Qt versions < 5.14.0


diff --git a/src/gui/monitor/monitorrepositorytab.cpp 
b/src/gui/monitor/monitorrepositorytab.cpp
index 415d1b2..c8fb962 100644
--- a/src/gui/monitor/monitorrepositorytab.cpp
+++ b/src/gui/monitor/monitorrepositorytab.cpp
@@ -90,8 +90,14 @@ void MonitorRepositoryTab::slotAddResultList(const 
QList<OBSResult *> &resultLis
 void MonitorRepositoryTab::checkForResultListChanges(const QList<OBSResult *> 
&resultList)
 {
     // FIXME: intersect always returns 0
+#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0)
     QSet<OBSResult *> old_resultSet(m_resultList.begin(), m_resultList.end());
     QSet<OBSResult *> new_resultSet(resultList.begin(), resultList.end());
+#else
+    QSet<OBSResult *> old_resultSet = m_resultList.toSet();
+    QSet<OBSResult *> new_resultSet= resultList.toSet();
+#endif
+
     QList<OBSResult *> commonResults = 
old_resultSet.intersect(new_resultSet).values();
 
     for (OBSResult *oldResult : commonResults) {

Reply via email to