diff --git a/dynare-add-missing-include.patch b/dynare-add-missing-include.patch new file mode 100644 index 0000000..2dea556 --- /dev/null +++ b/dynare-add-missing-include.patch @@ -0,0 +1,12 @@ +Index: dynare-5.3/preprocessor/src/CodeInterpreter.hh +=================================================================== +--- dynare-5.3.orig/preprocessor/src/CodeInterpreter.hh ++++ dynare-5.3/preprocessor/src/CodeInterpreter.hh +@@ -22,6 +22,7 @@ + + #include + #include ++#include + #include + #include + #ifdef BYTE_CODE diff --git a/dynare.changes b/dynare.changes index ab38dca..08a8c40 100644 --- a/dynare.changes +++ b/dynare.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Apr 10 20:53:33 UTC 2023 - Bjørn Lie + +- Add dynare-add-missing-include.patch: Add missing includes, now + exposed by gcc 13. + ------------------------------------------------------------------- Fri Dec 30 10:21:23 UTC 2022 - Stefan Brüns diff --git a/dynare.spec b/dynare.spec index 2176ed8..609dab2 100644 --- a/dynare.spec +++ b/dynare.spec @@ -1,7 +1,7 @@ # # spec file for package dynare # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -34,6 +34,8 @@ URL: https://www.dynare.org/ Source: https://www.dynare.org/release/source/%{name}-%{version}.tar.xz # PATCH-FIX-UPSTREAM dynare-no-return-in-non-void-function.patch badshah400@gmail.com -- Return trivial value from a function that is not declared as returning void Patch0: dynare-no-return-in-non-void-function.patch +# PATCH-FIX-UPSTREAM dynare-add-missing-include.patch -- Add missing includes, gcc 13 exposed +Patch1: dynare-add-missing-include.patch BuildRequires: fdupes BuildRequires: gcc%{gccver}-c++ BuildRequires: gcc%{gccver}-fortran @@ -79,8 +81,7 @@ Summary: Documentation for dynare in HTML format This package provides documentation for %{name} in HTML format. %prep -%setup -q -%patch0 -p1 +%autosetup -p1 %build autoreconf -fvi