summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/hdf5/files/hdf5-mpich2.patch')
-rw-r--r--sci-libs/hdf5/files/hdf5-mpich2.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/sci-libs/hdf5/files/hdf5-mpich2.patch b/sci-libs/hdf5/files/hdf5-mpich2.patch
new file mode 100644
index 000000000000..3ed60bf264b0
--- /dev/null
+++ b/sci-libs/hdf5/files/hdf5-mpich2.patch
@@ -0,0 +1,17 @@
+--- config/mpich.orig 2005-10-26 13:31:41.000000000 -0700
++++ config/mpich 2007-11-04 15:46:53.000000000 -0800
+@@ -31,11 +31,13 @@
+ # $CC is an MPICH compiler. Grab the version numbers.
+ ccversion=`echo $ccversion | cut -f3 -d' '`
+ case "$ccversion" in
+- 1.2.[0-5]*)
++ # modified for mpich2 versioning
++ 1.0.[0-5]*)
+ hdf5_mpi_complex_derived_datatype_works='no'
+ ;;
+ *)
+ # assume okay
++ hdf5_mpi_complex_derived_datatype_works='yes'
+ ;;
+ esac
+ fi