Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package benchmark for openSUSE:Factory 
checked in at 2022-03-15 19:03:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/benchmark (Old)
 and      /work/SRC/openSUSE:Factory/.benchmark.new.25692 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "benchmark"

Tue Mar 15 19:03:45 2022 rev:20 rq:961637 version:1.6.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/benchmark/benchmark.changes      2022-01-20 
00:12:37.890593549 +0100
+++ /work/SRC/openSUSE:Factory/.benchmark.new.25692/benchmark.changes   
2022-03-15 19:03:50.664904360 +0100
@@ -1,0 +2,6 @@
+Mon Mar 14 08:41:35 UTC 2022 - Martin Li??ka <mli...@suse.cz>
+
+- Add gcc12-disable-Werror=maybe-uninitialized.patch in order
+  to fix boo#1196587.
+
+-------------------------------------------------------------------

New:
----
  gcc12-disable-Werror=maybe-uninitialized.patch

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

Other differences:
------------------
++++++ benchmark.spec ++++++
--- /var/tmp/diff_new_pack.oHkLzO/_old  2022-03-15 19:03:51.244904753 +0100
+++ /var/tmp/diff_new_pack.oHkLzO/_new  2022-03-15 19:03:51.248904756 +0100
@@ -25,6 +25,7 @@
 License:        Apache-2.0
 URL:            https://github.com/google/benchmark
 Source:         %{name}-%{version}.tar.gz
+Patch0:         gcc12-disable-Werror=maybe-uninitialized.patch
 BuildRequires:  cmake >= 3.5.1
 BuildRequires:  gcc-c++
 BuildRequires:  git-core

++++++ gcc12-disable-Werror=maybe-uninitialized.patch ++++++
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b8852e4..4363fa1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -238,6 +238,7 @@ else()
   if (BENCHMARK_ENABLE_LTO)
     add_cxx_compiler_flag(-flto)
     add_cxx_compiler_flag(-Wno-lto-type-mismatch)
+    add_cxx_compiler_flag(-Wno-error=maybe-uninitialized)
     if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
       find_program(GCC_AR gcc-ar)
       if (GCC_AR)

Reply via email to