Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libkleo for openSUSE:Factory checked 
in at 2022-03-28 17:00:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libkleo (Old)
 and      /work/SRC/openSUSE:Factory/.libkleo.new.1900 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libkleo"

Mon Mar 28 17:00:15 2022 rev:75 rq:964891 version:21.12.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/libkleo/libkleo.changes  2022-03-04 
20:17:03.172783318 +0100
+++ /work/SRC/openSUSE:Factory/.libkleo.new.1900/libkleo.changes        
2022-03-28 17:01:03.737010220 +0200
@@ -1,0 +2,5 @@
+Fri Mar 25 14:47:41 UTC 2022 - Martin Li??ka <mli...@suse.cz>
+
+- Add gcc12-fix.patch upstream fix in order to support GCC 12.
+
+-------------------------------------------------------------------

New:
----
  gcc12-fix.patch

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

Other differences:
------------------
++++++ libkleo.spec ++++++
--- /var/tmp/diff_new_pack.u9Uh6A/_old  2022-03-28 17:01:04.301010986 +0200
+++ /var/tmp/diff_new_pack.u9Uh6A/_new  2022-03-28 17:01:04.305010991 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libkleo
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -31,6 +31,8 @@
 Source1:        
https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
 Source2:        applications.keyring
 %endif
+# PATCH-FIX-UPSTREAM
+Patch0:         gcc12-fix.patch
 BuildRequires:  extra-cmake-modules
 BuildRequires:  kf5-filesystem
 BuildRequires:  libboost_headers-devel


++++++ gcc12-fix.patch ++++++
>From f290218a6fd4e2b849875f6d465eaa861ec02aff Mon Sep 17 00:00:00 2001
From: Martin Liska <mli...@suse.cz>
Date: Fri, 25 Mar 2022 14:40:37 +0100
Subject: [PATCH] Include <iterator>.

In order to fix:
[   16s] 
/home/abuild/rpmbuild/BUILD/libkleo-21.12.3/src/kleo/keyserverconfig.cpp:73:44: 
  required from here
[   16s] 
/home/abuild/rpmbuild/BUILD/libkleo-21.12.3/src/utils/algorithm.h:35:30: error: 
no matching function for call to 'begin(QStringList&)'
[   16s]    35 |     std::transform(std::begin(c), std::end(c), std::begin(c), 
op);
[   16s]       |                    ~~~~~~~~~~^~~

The change is documented here:
https://gcc.gnu.org/gcc-12/porting_to.html#header-dep-changes
---
 src/utils/algorithm.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/utils/algorithm.h b/src/utils/algorithm.h
index 6fb8669..1bcab2c 100644
--- a/src/utils/algorithm.h
+++ b/src/utils/algorithm.h
@@ -11,6 +11,7 @@
 #pragma once
 
 #include <algorithm>
+#include <iterator>
 
 namespace Kleo
 {
-- 
GitLab

Reply via email to