parent
2ecb5c159e
commit
d01534ef9b
|
@ -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
|
||||||
|
|
|
@ -12,6 +12,7 @@ Source1: https://bitbucket.org/fenics-project/dolfin/downloads/dolfin-%{v
|
||||||
Source2: 3083BE4C722232E28AD0828CBED06106DD22BAB3.gpg
|
Source2: 3083BE4C722232E28AD0828CBED06106DD22BAB3.gpg
|
||||||
|
|
||||||
Patch: 0001-pkgconfig-drop-irrelevant-part-from-Libs-and-Cflags.patch
|
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
|
%if 0%{?fedora} >= 33 || 0%{?rhel} >= 9
|
||||||
%global blaslib flexiblas
|
%global blaslib flexiblas
|
||||||
|
@ -44,7 +45,7 @@ BuildRequires: python3dist(fenics-ufl) >= %{fenics_version}
|
||||||
BuildRequires: python3dist(fenics-dijitso) >= %{fenics_version}
|
BuildRequires: python3dist(fenics-dijitso) >= %{fenics_version}
|
||||||
# go cmake go
|
# go cmake go
|
||||||
BuildRequires: chrpath
|
BuildRequires: chrpath
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
|
|
||||||
# check-buildroot flags the python .so, but it should be fine after rpath removal.
|
# check-buildroot flags the python .so, but it should be fine after rpath removal.
|
||||||
# It seems that the original path to the library is stored in some comment.
|
# It seems that the original path to the library is stored in some comment.
|
||||||
|
|
Loading…
Reference in New Issue