diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2019-03-02 10:48:51 +0100 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2019-03-02 10:49:27 +0100 |
commit | 19d8a60bca95451a1f424d6ef313ff14f6ea9d34 (patch) | |
tree | 02ebfb023d8f8aed78dd7898dd891917815686a1 /sci-libs/libmed/files/libmed-3.3.1-mpi.patch | |
parent | dev-libs/boehm-gc: bump up to 8.0.4 (diff) | |
download | gentoo-19d8a60bca95451a1f424d6ef313ff14f6ea9d34.tar.gz gentoo-19d8a60bca95451a1f424d6ef313ff14f6ea9d34.tar.bz2 gentoo-19d8a60bca95451a1f424d6ef313ff14f6ea9d34.zip |
sci-libs/libmed-4.0.0: bump (bug #678824)
Signed-off-By: Fabio Rossi <rossi.f@inwind.it>
Closes: https://bugs.gentoo.org/678824
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'sci-libs/libmed/files/libmed-3.3.1-mpi.patch')
-rw-r--r-- | sci-libs/libmed/files/libmed-3.3.1-mpi.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/sci-libs/libmed/files/libmed-3.3.1-mpi.patch b/sci-libs/libmed/files/libmed-3.3.1-mpi.patch new file mode 100644 index 000000000000..0516b344a0bf --- /dev/null +++ b/sci-libs/libmed/files/libmed-3.3.1-mpi.patch @@ -0,0 +1,23 @@ +--- a/include/med.h.in 2018-07-06 10:55:49.247164591 +0200 ++++ a/include/med.h.in.new 2018-07-06 10:55:29.559164666 +0200 +@@ -19,6 +19,11 @@ + #ifndef MED_H + #define MED_H + ++@MED_DEFINE_MED_HAVE_MPI@ ++#ifdef MED_HAVE_MPI ++#include <mpi.h> ++#endif ++ + #include <hdf5.h> + #ifdef HAVE_STDINT_H + #include <stdint.h> // Use the C99 official header +@@ -66,8 +71,6 @@ + #define _MED_VERSION(x,y,z) STR(x) "." STR(y) "." STR(z) + #define MED_VERSION_STR _MED_VERSION(MED_NUM_MAJEUR,MED_NUM_MINEUR,MED_NUM_RELEASE) + +-@MED_DEFINE_MED_HAVE_MPI@ +- + #define MED_NULL (void *) NULL + #define MED_MAX_PARA 20 + |