Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package swig for openSUSE:Factory checked in at 2022-01-21 01:25:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/swig (Old) and /work/SRC/openSUSE:Factory/.swig.new.1938 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "swig" Fri Jan 21 01:25:09 2022 rev:75 rq:947401 version:4.0.2 Changes: -------- --- /work/SRC/openSUSE:Factory/swig/swig.changes 2021-06-12 20:05:33.096667638 +0200 +++ /work/SRC/openSUSE:Factory/.swig.new.1938/swig.changes 2022-01-21 01:25:26.634577427 +0100 @@ -1,0 +2,5 @@ +Wed Jan 19 09:23:35 UTC 2022 - Martin Li??ka <[email protected]> + +- Add fix-gcc12-error.patch in order to fix GCC 12 compilation error. + +------------------------------------------------------------------- New: ---- fix-gcc12-error.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ swig.spec ++++++ --- /var/tmp/diff_new_pack.P5KdmA/_old 2022-01-21 01:25:27.226573369 +0100 +++ /var/tmp/diff_new_pack.P5KdmA/_new 2022-01-21 01:25:27.234573314 +0100 @@ -1,7 +1,7 @@ # # spec file for package swig # -# 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 @@ -41,6 +41,7 @@ # PATCH-FIX-UPSTREAM swig-octave-6.patch gh#swig/swig#2020 [email protected] -- Allow swig to work with octave 6 and above; patch part of upstream merge request Patch0: swig-octave-6.patch +Patch1: fix-gcc12-error.patch Patch308: swig308-isfinite.diff BuildRequires: autoconf ++++++ fix-gcc12-error.patch ++++++ >From 76d5a9ec270a763c892ae28070e391cf99e0b7cd Mon Sep 17 00:00:00 2001 From: William S Fulton <[email protected]> Date: Tue, 18 Jan 2022 21:37:02 +0000 Subject: [PATCH] gcc-12 warning fix in test-case Closes #2145 --- Examples/test-suite/nested_class.i | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Examples/test-suite/nested_class.i b/Examples/test-suite/nested_class.i index b10c339493e..c778a12cf7c 100644 --- a/Examples/test-suite/nested_class.i +++ b/Examples/test-suite/nested_class.i @@ -201,7 +201,7 @@ struct Outer { Integer xx; } MultipleInstanceAnonDerived1, MultipleInstanceAnonDerived2, *MultipleInstanceAnonDerived3, MultipleInstanceAnonDerived4[2]; -#if defined(__GNUC__) || defined(_MSC_VER) || defined(SWIG) +#if (defined(__GNUC__) && __GNUC__ < 12) || defined(_MSC_VER) || defined(SWIG) /* some compilers do not accept these */ struct : public InnerMultiple { Integer xx;
