SHA256
1
0
forked from pool/dynare
Dominique Leuenberger 2023-04-12 10:52:13 +00:00 committed by Git OBS Bridge
commit 4d10ee7431
3 changed files with 22 additions and 3 deletions

View File

@ -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 <fstream>
#include <cstring>
+#include <cstdint>
#include <utility>
#include <vector>
#ifdef BYTE_CODE

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Apr 10 20:53:33 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
- 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 <stefan.bruens@rwth-aachen.de>

View File

@ -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