Compare commits
9 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
211e11e642 | ||
|
73799202b0 | ||
|
a70b88ec67 | ||
|
e3f67983c0 | ||
|
7c52a937d4 | ||
|
138aa7966d | ||
|
dce3769cf6 | ||
|
d01534ef9b | ||
|
2ecb5c159e |
33
0001-Add-missing-include-for-compatiblity-with-gcc-13.patch
Normal file
33
0001-Add-missing-include-for-compatiblity-with-gcc-13.patch
Normal file
@ -0,0 +1,33 @@
|
||||
From 8d1810d6cd7a5ac5ee944f39847a93a4635b6b15 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
|
||||
Date: Tue, 24 Jan 2023 10:45:21 +0100
|
||||
Subject: [PATCH] Add missing include for compatiblity with gcc-13
|
||||
|
||||
Quoting Jakub Jelinek:
|
||||
> See
|
||||
> https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes
|
||||
> Some libstdc++ headers included <cstdint> in older versions
|
||||
> as an implementation detail but no longer do.
|
||||
|
||||
> Including stdint.h will introduce ::uint32_t type among others,
|
||||
> but not std::uint32_t, if you use the latter, you need to
|
||||
> include <cstdint>.
|
||||
---
|
||||
dolfin/mesh/MeshConnectivity.h | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/dolfin/mesh/MeshConnectivity.h b/dolfin/mesh/MeshConnectivity.h
|
||||
index b9ec2a6114..5d11d7ab3c 100644
|
||||
--- a/dolfin/mesh/MeshConnectivity.h
|
||||
+++ b/dolfin/mesh/MeshConnectivity.h
|
||||
@@ -21,6 +21,7 @@
|
||||
#ifndef __MESH_CONNECTIVITY_H
|
||||
#define __MESH_CONNECTIVITY_H
|
||||
|
||||
+#include <cstdint>
|
||||
#include <vector>
|
||||
#include <dolfin/log/log.h>
|
||||
|
||||
--
|
||||
2.39.1
|
||||
|
@ -5,13 +5,14 @@ Version: 2019.1.0.post0
|
||||
Release: %autorelease
|
||||
Summary: FEniCS computational backend and problem solving environment
|
||||
|
||||
License: LGPLv3+
|
||||
License: LGPL-3.0-or-later
|
||||
URL: https://fenicsproject.org/
|
||||
Source0: https://bitbucket.org/fenics-project/dolfin/downloads/dolfin-%{version}.tar.gz
|
||||
Source1: https://bitbucket.org/fenics-project/dolfin/downloads/dolfin-%{version}.tar.gz.asc
|
||||
Source2: 3083BE4C722232E28AD0828CBED06106DD22BAB3.gpg
|
||||
|
||||
Patch: 0001-pkgconfig-drop-irrelevant-part-from-Libs-and-Cflags.patch
|
||||
Patch: 0001-Add-missing-include-for-compatiblity-with-gcc-13.patch
|
||||
|
||||
%if 0%{?fedora} >= 33 || 0%{?rhel} >= 9
|
||||
%global blaslib flexiblas
|
||||
@ -22,6 +23,9 @@ Patch: 0001-pkgconfig-drop-irrelevant-part-from-Libs-and-Cflags.patch
|
||||
%global cmake_blas_flags -DBLAS_LIBRARIES=%{_libdir}/lib%{blaslib}%{blasvar}.so
|
||||
%endif
|
||||
|
||||
# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
|
||||
ExcludeArch: %{ix86}
|
||||
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: gnupg2
|
||||
BuildRequires: cmake
|
||||
|
Loading…
Reference in New Issue
Block a user