forked from pool/dynare
Accepting request 1078300 from home:iznogood:branches:science
- Add dynare-add-missing-include.patch: Add missing includes, now exposed by gcc 13. OBS-URL: https://build.opensuse.org/request/show/1078300 OBS-URL: https://build.opensuse.org/package/show/science/dynare?expand=0&rev=9
This commit is contained in:
parent
4e37aa23f0
commit
21ca35349d
12
dynare-add-missing-include.patch
Normal file
12
dynare-add-missing-include.patch
Normal 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
|
@ -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>
|
Fri Dec 30 10:21:23 UTC 2022 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package dynare
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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
|
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
|
# 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
|
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: fdupes
|
||||||
BuildRequires: gcc%{gccver}-c++
|
BuildRequires: gcc%{gccver}-c++
|
||||||
BuildRequires: gcc%{gccver}-fortran
|
BuildRequires: gcc%{gccver}-fortran
|
||||||
@ -79,8 +81,7 @@ Summary: Documentation for dynare in HTML format
|
|||||||
This package provides documentation for %{name} in HTML format.
|
This package provides documentation for %{name} in HTML format.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p1
|
||||||
%patch0 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fvi
|
autoreconf -fvi
|
||||||
|
Loading…
Reference in New Issue
Block a user