Fix missing #include for gcc-11
This commit is contained in:
parent
259047c22b
commit
b719be453d
12
flang-gcc11.patch
Normal file
12
flang-gcc11.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff --git a/runtime/unit.cpp b/runtime/unit.cpp
|
||||||
|
index cf20d7c..643d936 100644
|
||||||
|
--- a/runtime/unit.cpp
|
||||||
|
+++ b/runtime/unit.cpp
|
||||||
|
@@ -11,6 +11,7 @@
|
||||||
|
#include "lock.h"
|
||||||
|
#include "unit-map.h"
|
||||||
|
#include <cstdio>
|
||||||
|
+#include <limits>
|
||||||
|
|
||||||
|
namespace Fortran::runtime::io {
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
%global rc_ver 1
|
%global rc_ver 1
|
||||||
%global baserelease 2
|
%global baserelease 3
|
||||||
%global flang_srcdir flang-%{version}%{?rc_ver:rc%{rc_ver}}.src
|
%global flang_srcdir flang-%{version}%{?rc_ver:rc%{rc_ver}}.src
|
||||||
%global maj_ver 11
|
%global maj_ver 11
|
||||||
%global min_ver 1
|
%global min_ver 1
|
||||||
@ -24,6 +24,7 @@ Patch1: shared.patch
|
|||||||
Patch2: gtest.patch
|
Patch2: gtest.patch
|
||||||
# Needed for documentation generation
|
# Needed for documentation generation
|
||||||
Patch3: sphinx_markdown_tables.patch
|
Patch3: sphinx_markdown_tables.patch
|
||||||
|
Patch4: %{name}-gcc11.patch
|
||||||
|
|
||||||
# because mlir doesn't build on arm (yet)
|
# because mlir doesn't build on arm (yet)
|
||||||
ExcludeArch: armv7hl
|
ExcludeArch: armv7hl
|
||||||
@ -171,6 +172,9 @@ export LD_LIBRARY_PATH=%{_builddir}/%{flang_srcdir}/%{_build}/lib
|
|||||||
%doc %{_pkgdocdir}/html/
|
%doc %{_pkgdocdir}/html/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Feb 10 2021 Jeff Law <law@redhat.com> - 11.1.0-0.3.rc1
|
||||||
|
- Fix missing #include for gcc-11
|
||||||
|
|
||||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 11.1.0-0.2.rc1
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 11.1.0-0.2.rc1
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user