Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package opencv3 for openSUSE:Factory checked in at 2022-03-11 21:39:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/opencv3 (Old) and /work/SRC/openSUSE:Factory/.opencv3.new.25692 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "opencv3" Fri Mar 11 21:39:46 2022 rev:12 rq:960240 version:3.4.16 Changes: -------- --- /work/SRC/openSUSE:Factory/opencv3/opencv3.changes 2021-11-20 02:39:13.792762397 +0100 +++ /work/SRC/openSUSE:Factory/.opencv3.new.25692/opencv3.changes 2022-03-11 21:39:48.118007010 +0100 @@ -1,0 +2,5 @@ +Thu Jan 27 08:11:09 UTC 2022 - Dirk M??ller <dmuel...@suse.com> + +- add gcc12-buildfixes.patch + +------------------------------------------------------------------- New: ---- gcc12-buildfixes.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ opencv3.spec ++++++ --- /var/tmp/diff_new_pack.l3TSiQ/_old 2022-03-11 21:39:49.154007747 +0100 +++ /var/tmp/diff_new_pack.l3TSiQ/_new 2022-03-11 21:39:49.158007750 +0100 @@ -1,7 +1,7 @@ # # spec file for package opencv3 # -# 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 @@ -49,6 +49,7 @@ Patch0: opencv3-pr19384-tbb2021.patch # PATCH-FIX-OPENSUSE opencv-build-compare.patch -- avoid republish if some random external version number changes Patch1: opencv-build-compare.patch +Patch2: https://github.com/opencv/opencv/commit/302d14adefb98e02c2110eaa898cf04adb5564cd.patch#/gcc12-buildfixes.patch BuildRequires: cmake BuildRequires: fdupes BuildRequires: libeigen3-devel ++++++ gcc12-buildfixes.patch ++++++ >From 302d14adefb98e02c2110eaa898cf04adb5564cd Mon Sep 17 00:00:00 2001 From: Alexander Alekhin <alexander.a.alek...@gmail.com> Date: Sat, 22 Jan 2022 11:48:44 +0000 Subject: [PATCH] build: fix GCC12 compilation --- modules/core/src/persistence_base64.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/src/persistence_base64.cpp b/modules/core/src/persistence_base64.cpp index 6a32ab5450b..3191372b350 100644 --- a/modules/core/src/persistence_base64.cpp +++ b/modules/core/src/persistence_base64.cpp @@ -164,7 +164,7 @@ size_t base64_decode(char const * src, char * dst, size_t off, size_t cnt) bool base64_valid(uint8_t const * src, size_t off, size_t cnt) { /* check parameters */ - if (src == 0 || src + off == 0) + if (src == 0) return false; if (cnt == 0U) cnt = std::strlen(reinterpret_cast<char const *>(src));