Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package dynare for openSUSE:Factory checked in at 2022-06-28 15:22:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/dynare (Old) and /work/SRC/openSUSE:Factory/.dynare.new.1548 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "dynare" Tue Jun 28 15:22:31 2022 rev:3 rq:985399 version:5.1 Changes: -------- --- /work/SRC/openSUSE:Factory/dynare/dynare.changes 2022-05-02 16:25:27.880831208 +0200 +++ /work/SRC/openSUSE:Factory/.dynare.new.1548/dynare.changes 2022-06-28 15:22:49.573983043 +0200 @@ -1,0 +2,5 @@ +Mon Jun 27 20:34:53 UTC 2022 - Antoine Belvire <antoine.belv...@opensuse.org> + +- Add dynare-5.1-gcc-12.patch: Fix build with gcc 12. + +------------------------------------------------------------------- New: ---- dynare-5.1-gcc-12.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dynare.spec ++++++ --- /var/tmp/diff_new_pack.TR9NFI/_old 2022-06-28 15:22:50.141983891 +0200 +++ /var/tmp/diff_new_pack.TR9NFI/_new 2022-06-28 15:22:50.145983898 +0200 @@ -35,6 +35,8 @@ # PATCH-FIX-UPSTREAM dynare-no-return-in-non-void-function.patch badshah...@gmail.com -- Return trivial value from a function that is not declared as returning void Patch0: dynare-no-return-in-non-void-function.patch Patch1: dynare-octave7-compat.patch +# PATCH-FIX-UPSTREAM dynare-5.1-gcc-12.patch -- Fix build with gcc 12 (https://git.dynare.org/Dynare/dynare/-/issues/1852) +Patch2: dynare-5.1-gcc-12.patch BuildRequires: fdupes BuildRequires: gcc%{gccver}-c++ BuildRequires: gcc%{gccver}-fortran @@ -80,7 +82,10 @@ This package provides documentation for %{name} in HTML format. %prep -%autosetup -p1 +%setup -q +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 -d preprocessor %build autoreconf -fvi ++++++ dynare-5.1-gcc-12.patch ++++++ >From 3823379966f15a377c863b0d15694b146854dfd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebast...@dynare.org> Date: Mon, 2 May 2022 17:03:42 +0200 Subject: [PATCH] Compatibility fix for GCC 12 Ref. dynare#1852 (cherry picked from commit 8c07fb5e4310b2ec2988dc62256e1cf0971c05dd) --- src/DataTree.hh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/DataTree.hh b/src/DataTree.hh index 62da5681..6e9f818d 100644 --- a/src/DataTree.hh +++ b/src/DataTree.hh @@ -29,6 +29,7 @@ using namespace std; #include <iomanip> #include <cmath> #include <utility> +#include <memory> #include "SymbolTable.hh" #include "NumericalConstants.hh" -- GitLab