Hello community,

here is the log from the commit of package nomacs for openSUSE:Factory checked 
in at 2019-09-04 09:13:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nomacs (Old)
 and      /work/SRC/openSUSE:Factory/.nomacs.new.7948 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nomacs"

Wed Sep  4 09:13:06 2019 rev:21 rq:727842 version:3.12

Changes:
--------
--- /work/SRC/openSUSE:Factory/nomacs/nomacs.changes    2019-02-24 
17:10:10.256509777 +0100
+++ /work/SRC/openSUSE:Factory/.nomacs.new.7948/nomacs.changes  2019-09-04 
09:13:35.246952782 +0200
@@ -1,0 +2,5 @@
+Mon Sep  2 10:34:00 UTC 2019 - Christophe Giboudeaux <[email protected]>
+
+- Add Fix-build-with-GCC9.patch.
+
+-------------------------------------------------------------------

New:
----
  Fix-build-with-GCC9.patch

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

Other differences:
------------------
++++++ nomacs.spec ++++++
--- /var/tmp/diff_new_pack.Plh5gM/_old  2019-09-04 09:13:36.046952671 +0200
+++ /var/tmp/diff_new_pack.Plh5gM/_new  2019-09-04 09:13:36.046952671 +0200
@@ -24,6 +24,7 @@
 Group:          Productivity/Graphics/Viewers
 Url:            https://nomacs.org/
 Source:         
https://github.com/nomacs/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
+Patch0:         Fix-build-with-GCC9.patch
 BuildRequires:  cmake >= 2.8
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
@@ -56,6 +57,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 sed -i 's/\r$//g' ImageLounge/Readme/*
 
 %build

++++++ Fix-build-with-GCC9.patch ++++++
>From 37805e3bc8753970127db101f4aa0c061bc5a70d Mon Sep 17 00:00:00 2001
From: Michael Palimaka <[email protected]>
Date: Sun, 9 Jun 2019 19:15:28 +1000
Subject: [PATCH] Fix build with GCC9

---
 ImageLounge/src/DkCore/DkMetaData.cpp | 2 ++
 ImageLounge/src/DkGui/DkNoMacs.cpp    | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/ImageLounge/src/DkCore/DkMetaData.cpp 
b/ImageLounge/src/DkCore/DkMetaData.cpp
index d195757..affec7b 100644
--- a/ImageLounge/src/DkCore/DkMetaData.cpp
+++ b/ImageLounge/src/DkCore/DkMetaData.cpp
@@ -42,6 +42,8 @@
 #include <QApplication>
 #pragma warning(pop)           // no warnings from includes - end
 
+#include <iostream>
+
 namespace nmc {
 
 // DkMetaDataT 
--------------------------------------------------------------------
diff --git a/ImageLounge/src/DkGui/DkNoMacs.cpp 
b/ImageLounge/src/DkGui/DkNoMacs.cpp
index 6a412f7..bbfba23 100644
--- a/ImageLounge/src/DkGui/DkNoMacs.cpp
+++ b/ImageLounge/src/DkGui/DkNoMacs.cpp
@@ -96,6 +96,8 @@
 #include <QWinTaskbarButton>
 #endif
 
+#include <iostream>
+
 namespace nmc {
 
 DkNomacsOSXEventFilter::DkNomacsOSXEventFilter(QObject *parent) : 
QObject(parent) {

Reply via email to