diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /sci-libs/hdf5/files | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'sci-libs/hdf5/files')
-rw-r--r-- | sci-libs/hdf5/files/hdf5-1.8.10-buildsystem.patch | 33 | ||||
-rw-r--r-- | sci-libs/hdf5/files/hdf5-1.8.10-comments.patch | 42 | ||||
-rw-r--r-- | sci-libs/hdf5/files/hdf5-1.8.10-implicits.patch | 54 | ||||
-rw-r--r-- | sci-libs/hdf5/files/hdf5-1.8.10_p1-comments.patch | 29 | ||||
-rw-r--r-- | sci-libs/hdf5/files/hdf5-1.8.13-implicits.patch | 35 | ||||
-rw-r--r-- | sci-libs/hdf5/files/hdf5-1.8.13-no-messing-ldpath.patch | 21 | ||||
-rw-r--r-- | sci-libs/hdf5/files/hdf5-1.8.14-implicits.patch | 55 | ||||
-rw-r--r-- | sci-libs/hdf5/files/hdf5-1.8.14-ldflags.patch | 20 | ||||
-rw-r--r-- | sci-libs/hdf5/files/hdf5-1.8.15-implicits.patch | 43 | ||||
-rw-r--r-- | sci-libs/hdf5/files/hdf5-1.8.8-array_bounds.patch | 22 | ||||
-rw-r--r-- | sci-libs/hdf5/files/hdf5-1.8.8-buildsystem.patch | 33 | ||||
-rw-r--r-- | sci-libs/hdf5/files/hdf5-1.8.8-implicits.patch | 85 | ||||
-rw-r--r-- | sci-libs/hdf5/files/hdf5-1.8.9-implicits.patch | 55 | ||||
-rw-r--r-- | sci-libs/hdf5/files/hdf5-1.8.9-mpicxx.patch | 16 | ||||
-rw-r--r-- | sci-libs/hdf5/files/hdf5-1.8.9-static_libgfortran.patch | 15 | ||||
-rw-r--r-- | sci-libs/hdf5/files/mpd.conf | 2 |
16 files changed, 560 insertions, 0 deletions
diff --git a/sci-libs/hdf5/files/hdf5-1.8.10-buildsystem.patch b/sci-libs/hdf5/files/hdf5-1.8.10-buildsystem.patch new file mode 100644 index 000000000000..58bcc500165f --- /dev/null +++ b/sci-libs/hdf5/files/hdf5-1.8.10-buildsystem.patch @@ -0,0 +1,33 @@ +Prevent build system with messing up LD_LIBRARY_PATH + +--- a/configure.ac ++++ b/configure.ac +@@ -2331,8 +2331,6 @@ AC_TRY_COMPILE(,[ + ## + AC_MSG_CHECKING([how to print long long]) + AC_CACHE_VAL([hdf5_cv_printf_ll], [ +-LD_LIBRARY_PATH="$LD_LIBRARY_PATH`echo $AM_LDFLAGS $LDFLAGS | sed -e 's/-L/:/g' -e 's/ //g'`" +-export LD_LIBRARY_PATH + + for hdf5_cv_printf_ll in l ll L q unknown; do + AC_TRY_RUN([ +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -125,8 +125,6 @@ settings_DATA=libhdf5.settings + # Remove the generated .c file if errors occur unless HDF5_Make_Ignore + # is set to ignore the error. + H5Tinit.c: H5detect$(EXEEXT) +- LD_LIBRARY_PATH="$$LD_LIBRARY_PATH`echo $(LDFLAGS) | \ +- sed -e 's/-L/:/g' -e 's/ //g'`" \ + $(RUNSERIAL) ./H5detect$(EXEEXT) > $@ || \ + (test $$HDF5_Make_Ignore && echo "*** Error ignored") || \ + ($(RM) $@ ; exit 1) +@@ -137,8 +135,6 @@ H5Tinit.c: H5detect$(EXEEXT) + # Remove the generated .c file if errors occur unless HDF5_Make_Ignore + # is set to ignore the error. + H5lib_settings.c: H5make_libsettings$(EXEEXT) libhdf5.settings +- LD_LIBRARY_PATH="$$LD_LIBRARY_PATH`echo $(LDFLAGS) | \ +- sed -e 's/-L/:/g' -e 's/ //g'`" \ + $(RUNSERIAL) ./H5make_libsettings$(EXEEXT) > $@ || \ + (test $$HDF5_Make_Ignore && echo "*** Error ignored") || \ + ($(RM) $@ ; exit 1) diff --git a/sci-libs/hdf5/files/hdf5-1.8.10-comments.patch b/sci-libs/hdf5/files/hdf5-1.8.10-comments.patch new file mode 100644 index 000000000000..845bd81bdd8c --- /dev/null +++ b/sci-libs/hdf5/files/hdf5-1.8.10-comments.patch @@ -0,0 +1,42 @@ +Convert // comment marks to /**/ in order to fix FTBS on ia64 + +https://bugs.gentoo.org/show_bug.cgi?id=447740 + +Patch written by Kacper Kowalik <xarthisius@gentoo.org> +--- a/test/th5s.c ++++ b/test/th5s.c +@@ -730,8 +730,8 @@ test_h5s_zero_dim(void) + ret = H5Pset_chunk(plist_id, SPACE1_RANK, chunk_dims); + CHECK(ret, FAIL, "H5Pset_chunk"); + +- // ret = H5Pset_alloc_time(plist_id, alloc_time); +- // CHECK(ret, FAIL, "H5Pset_alloc_time"); ++ /* ret = H5Pset_alloc_time(plist_id, alloc_time); ++ CHECK(ret, FAIL, "H5Pset_alloc_time"); */ + + dset1 = H5Dcreate2(fid1, BASICDATASET1, H5T_NATIVE_INT, sid_chunk, H5P_DEFAULT, plist_id, H5P_DEFAULT); + CHECK(dset1, FAIL, "H5Dcreate2"); +--- a/tools/h5dump/h5dump_ddl.c ++++ b/tools/h5dump/h5dump_ddl.c +@@ -1341,8 +1341,8 @@ handle_attributes(hid_t fid, const char *attr, void UNUSED * data, int UNUSED pe + string_dataformat.do_escape = display_escape; + outputformat = &string_dataformat; + +- //attr_name = attr + j + 1; +- // need to replace escape characters ++ /* attr_name = attr + j + 1; */ ++ /* need to replace escape characters */ + attr_name = h5tools_str_replace(attr + j + 1, "\\/", "/"); + + +--- a/tools/lib/h5tools_str.c ++++ b/tools/lib/h5tools_str.c +@@ -632,7 +632,7 @@ h5tools_str_indent(h5tools_str_t *str, const h5tool_format_t *info, + h5tools_str_append(str, "%s", OPT(info->line_indent, "")); + } + +-// ctx->need_prefix = 0; ++ /* ctx->need_prefix = 0; */ + } + + /*------------------------------------------------------------------------- diff --git a/sci-libs/hdf5/files/hdf5-1.8.10-implicits.patch b/sci-libs/hdf5/files/hdf5-1.8.10-implicits.patch new file mode 100644 index 000000000000..a0b59b74e703 --- /dev/null +++ b/sci-libs/hdf5/files/hdf5-1.8.10-implicits.patch @@ -0,0 +1,54 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -1494,6 +1494,9 @@ case "$host_cpu-$host_vendor-$host_os" in + ## however, we do not do this since it breaks the big test on some + ## older platforms. + AM_CPPFLAGS="-D_BSD_SOURCE $AM_CPPFLAGS" ++ ++ dnl _GNU_SOURCE is needed for vasprintf ++ AM_CPPFLAGS="-D_GNU_SOURCE $AM_CPPFLAGS" + ;; + esac + +--- a/hl/src/H5LTanalyze.c ++++ b/hl/src/H5LTanalyze.c +@@ -49,6 +49,7 @@ + #define YY_FLEX_MINOR_VERSION 5 + + #include <stdio.h> ++#include "H5pubconf.h" + #ifdef H5_HAVE_UNISTD_H + #include <unistd.h> + #endif +--- a/test/cache_common.h ++++ b/test/cache_common.h +@@ -702,5 +702,9 @@ void validate_mdc_config(hid_t file_id, + hbool_t compare_init, + int test_num); + ++hbool_t resize_configs_are_equal(const H5C_auto_size_ctl_t *a, ++ const H5C_auto_size_ctl_t *b, ++ hbool_t compare_init); ++ + #endif /* _CACHE_COMMON_H */ + +--- a/tools/h5repack/testh5repack_detect_szip.c ++++ b/tools/h5repack/testh5repack_detect_szip.c +@@ -18,6 +18,7 @@ + #include "h5tools.h" + #include "h5tools_utils.h" + #include "h5test.h" ++#include "h5tools_utils.h" + + + /* Name of tool */ +--- a/tools/misc/talign.c ++++ b/tools/misc/talign.c +@@ -23,6 +23,7 @@ + + #include "hdf5.h" + #include "H5private.h" ++#include "h5tools.h" + + const char *fname = "talign.h5"; + const char *setname = "align"; diff --git a/sci-libs/hdf5/files/hdf5-1.8.10_p1-comments.patch b/sci-libs/hdf5/files/hdf5-1.8.10_p1-comments.patch new file mode 100644 index 000000000000..44af8080bbf1 --- /dev/null +++ b/sci-libs/hdf5/files/hdf5-1.8.10_p1-comments.patch @@ -0,0 +1,29 @@ +Convert // comment marks to /**/ in order to fix FTBS on ia64 + +https://bugs.gentoo.org/show_bug.cgi?id=447740 + +Patch written by Kacper Kowalik <xarthisius@gentoo.org> +--- a/tools/h5dump/h5dump_ddl.c ++++ b/tools/h5dump/h5dump_ddl.c +@@ -1341,8 +1341,8 @@ handle_attributes(hid_t fid, const char *attr, void UNUSED * data, int UNUSED pe + string_dataformat.do_escape = display_escape; + outputformat = &string_dataformat; + +- //attr_name = attr + j + 1; +- // need to replace escape characters ++ /* attr_name = attr + j + 1; */ ++ /* need to replace escape characters */ + attr_name = h5tools_str_replace(attr + j + 1, "\\/", "/"); + + +--- a/tools/lib/h5tools_str.c ++++ b/tools/lib/h5tools_str.c +@@ -632,7 +632,7 @@ h5tools_str_indent(h5tools_str_t *str, const h5tool_format_t *info, + h5tools_str_append(str, "%s", OPT(info->line_indent, "")); + } + +-// ctx->need_prefix = 0; ++ /* ctx->need_prefix = 0; */ + } + + /*------------------------------------------------------------------------- diff --git a/sci-libs/hdf5/files/hdf5-1.8.13-implicits.patch b/sci-libs/hdf5/files/hdf5-1.8.13-implicits.patch new file mode 100644 index 000000000000..2061d16f71ea --- /dev/null +++ b/sci-libs/hdf5/files/hdf5-1.8.13-implicits.patch @@ -0,0 +1,35 @@ +--- a/test/cache_common.h ++++ b/test/cache_common.h +@@ -702,5 +702,8 @@ void validate_mdc_config(hid_t file_id, + hbool_t compare_init, + int test_num); + ++hbool_t resize_configs_are_equal(const H5C_auto_size_ctl_t *a, ++ const H5C_auto_size_ctl_t *b, ++ hbool_t compare_init); + #endif /* _CACHE_COMMON_H */ + +--- a/testpar/t_span_tree.c ++++ b/testpar/t_span_tree.c +@@ -37,6 +37,9 @@ + #include "hdf5.h" + #include "H5private.h" + #include "testphdf5.h" ++#define H5S_PACKAGE ++#define H5S_TESTING ++#include "H5Spkg.h" + + + static void coll_write_test(int chunk_factor); +--- a/configure.ac ++++ b/configure.ac +@@ -1504,6 +1504,9 @@ case "$host_cpu-$host_vendor-$host_os" in + ## however, we do not do this since it breaks the big test on some + ## older platforms. + AM_CPPFLAGS="-D_BSD_SOURCE $AM_CPPFLAGS" ++ ++ ## _GNU_SOURCE is needed for vasprintf ++ AM_CPPFLAGS="-D_GNU_SOURCE $AM_CPPFLAGS" + ;; + esac + diff --git a/sci-libs/hdf5/files/hdf5-1.8.13-no-messing-ldpath.patch b/sci-libs/hdf5/files/hdf5-1.8.13-no-messing-ldpath.patch new file mode 100644 index 000000000000..82bc5d8b120a --- /dev/null +++ b/sci-libs/hdf5/files/hdf5-1.8.13-no-messing-ldpath.patch @@ -0,0 +1,21 @@ +Prevent build system with messing up LD_LIBRARY_PATH +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -125,8 +125,6 @@ settings_DATA=libhdf5.settings + # Remove the generated .c file if errors occur unless HDF5_Make_Ignore + # is set to ignore the error. + H5Tinit.c: H5detect$(EXEEXT) +- LD_LIBRARY_PATH="$$LD_LIBRARY_PATH`echo $(LDFLAGS) | \ +- sed -e 's/-L/:/g' -e 's/ //g'`" \ + $(RUNSERIAL) ./H5detect$(EXEEXT) > $@ || \ + (test $$HDF5_Make_Ignore && echo "*** Error ignored") || \ + ($(RM) $@ ; exit 1) +@@ -137,8 +135,6 @@ H5Tinit.c: H5detect$(EXEEXT) + # Remove the generated .c file if errors occur unless HDF5_Make_Ignore + # is set to ignore the error. + H5lib_settings.c: H5make_libsettings$(EXEEXT) libhdf5.settings +- LD_LIBRARY_PATH="$$LD_LIBRARY_PATH`echo $(LDFLAGS) | \ +- sed -e 's/-L/:/g' -e 's/ //g'`" \ + $(RUNSERIAL) ./H5make_libsettings$(EXEEXT) > $@ || \ + (test $$HDF5_Make_Ignore && echo "*** Error ignored") || \ + ($(RM) $@ ; exit 1) diff --git a/sci-libs/hdf5/files/hdf5-1.8.14-implicits.patch b/sci-libs/hdf5/files/hdf5-1.8.14-implicits.patch new file mode 100644 index 000000000000..4ee6e83d9f2f --- /dev/null +++ b/sci-libs/hdf5/files/hdf5-1.8.14-implicits.patch @@ -0,0 +1,55 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -1522,6 +1522,9 @@ case "$host_cpu-$host_vendor-$host_os" in + ## however, we do not do this since it breaks the big test on some + ## older platforms. + AM_CPPFLAGS="-D_BSD_SOURCE $AM_CPPFLAGS" ++ ++ ## _GNU_SOURCE is needed for vasprintf ++ AM_CPPFLAGS="-D_GNU_SOURCE $AM_CPPFLAGS" + ;; + esac + +--- a/hl/src/H5LTanalyze.c ++++ b/hl/src/H5LTanalyze.c +@@ -40,6 +40,7 @@ + #include <string.h> + #include <errno.h> + #include <stdlib.h> ++#include <unistd.h> + + /* end standard C headers. */ + +--- a/hl/src/H5LTanalyze.l ++++ b/hl/src/H5LTanalyze.l +@@ -16,6 +16,7 @@ + %{ + #include <stdlib.h> + #include <string.h> ++#include <unistd.h> + #include <hdf5.h> + #include "H5LTparse.h" + +--- a/test/cache_common.h ++++ b/test/cache_common.h +@@ -702,5 +702,8 @@ void validate_mdc_config(hid_t file_id, + hbool_t compare_init, + int test_num); + ++hbool_t resize_configs_are_equal(const H5C_auto_size_ctl_t *a, ++ const H5C_auto_size_ctl_t *b, ++ hbool_t compare_init); + #endif /* _CACHE_COMMON_H */ + +--- a/testpar/t_span_tree.c ++++ b/testpar/t_span_tree.c +@@ -37,6 +37,9 @@ + #include "hdf5.h" + #include "H5private.h" + #include "testphdf5.h" ++#define H5S_PACKAGE ++#define H5S_TESTING ++#include "H5Spkg.h" + + + static void coll_write_test(int chunk_factor); diff --git a/sci-libs/hdf5/files/hdf5-1.8.14-ldflags.patch b/sci-libs/hdf5/files/hdf5-1.8.14-ldflags.patch new file mode 100644 index 000000000000..c27800d9ce30 --- /dev/null +++ b/sci-libs/hdf5/files/hdf5-1.8.14-ldflags.patch @@ -0,0 +1,20 @@ +Revert changes made to fix HDFFV-8944 + +https://bugs.gentoo.org/show_bug.cgi?id=530746 + +--- a/configure.ac ++++ b/configure.ac +@@ -115,12 +115,7 @@ + AM_CXXFLAGS="${AM_CXXFLAGS}" + AM_FCFLAGS="${AM_FCFLAGS}" + AM_CPPFLAGS="${AM_CPPFLAGS}" +-# Added to address HDFFV-8944 +-if test "x$prefix" = xNONE; then +- AM_LDFLAGS="$AM_LDFLAGS -L$ac_default_prefix/lib" +-else +- AM_LDFLAGS="$AM_LDFLAGS -L$prefix/lib" +-fi ++AM_LDFLAGS="${AM_LDFLAGS}" + CFLAGS="${CFLAGS}" + CXXFLAGS="${CXXFLAGS}" + FCFLAGS="${FCFLAGS}" diff --git a/sci-libs/hdf5/files/hdf5-1.8.15-implicits.patch b/sci-libs/hdf5/files/hdf5-1.8.15-implicits.patch new file mode 100644 index 000000000000..72e096170975 --- /dev/null +++ b/sci-libs/hdf5/files/hdf5-1.8.15-implicits.patch @@ -0,0 +1,43 @@ +--- a/hl/src/H5LTanalyze.c ++++ b/hl/src/H5LTanalyze.c +@@ -40,6 +40,7 @@ + #include <string.h> + #include <errno.h> + #include <stdlib.h> ++#include <unistd.h> + + /* end standard C headers. */ + +--- a/hl/src/H5LTanalyze.l ++++ b/hl/src/H5LTanalyze.l +@@ -16,6 +16,7 @@ + %{ + #include <stdlib.h> + #include <string.h> ++#include <unistd.h> + #include <hdf5.h> + #include "H5LTparse.h" + +--- a/test/cache_common.h ++++ b/test/cache_common.h +@@ -702,5 +702,8 @@ void validate_mdc_config(hid_t file_id, + hbool_t compare_init, + int test_num); + ++hbool_t resize_configs_are_equal(const H5C_auto_size_ctl_t *a, ++ const H5C_auto_size_ctl_t *b, ++ hbool_t compare_init); + #endif /* _CACHE_COMMON_H */ + +--- a/testpar/t_span_tree.c ++++ b/testpar/t_span_tree.c +@@ -37,6 +37,9 @@ + #include "hdf5.h" + #include "H5private.h" + #include "testphdf5.h" ++#define H5S_PACKAGE ++#define H5S_TESTING ++#include "H5Spkg.h" + + + static void coll_write_test(int chunk_factor); diff --git a/sci-libs/hdf5/files/hdf5-1.8.8-array_bounds.patch b/sci-libs/hdf5/files/hdf5-1.8.8-array_bounds.patch new file mode 100644 index 000000000000..042d012d1621 --- /dev/null +++ b/sci-libs/hdf5/files/hdf5-1.8.8-array_bounds.patch @@ -0,0 +1,22 @@ +--- a/perform/pio_engine.c ++++ b/perform/pio_engine.c +@@ -454,7 +454,7 @@ + subdir = (user ? user : login); + + if (subdir) { +- for (i = 0; i < size && prefix[i]; i++) ++ for (i = 0; i < size-1 && prefix[i]; i++) + fullname[i] = prefix[i]; + + fullname[i++] = '/'; +--- a/perform/sio_engine.c ++++ b/perform/sio_engine.c +@@ -353,7 +353,7 @@ + subdir = (user ? user : login); + + if (subdir) { +- for (i = 0; i < size && prefix[i]; i++) ++ for (i = 0; i < size-1 && prefix[i]; i++) + fullname[i] = prefix[i]; + + fullname[i++] = '/'; diff --git a/sci-libs/hdf5/files/hdf5-1.8.8-buildsystem.patch b/sci-libs/hdf5/files/hdf5-1.8.8-buildsystem.patch new file mode 100644 index 000000000000..0f85cf5ed245 --- /dev/null +++ b/sci-libs/hdf5/files/hdf5-1.8.8-buildsystem.patch @@ -0,0 +1,33 @@ +Prevent build system with messing up LD_LIBRARY_PATH + +--- a/configure.in ++++ b/configure.in +@@ -2328,8 +2328,6 @@ + dnl + AC_MSG_CHECKING([how to print long long]) + AC_CACHE_VAL([hdf5_cv_printf_ll], +-LD_LIBRARY_PATH="$LD_LIBRARY_PATH`echo $AM_LDFLAGS $LDFLAGS | sed -e 's/-L/:/g' -e 's/ //g'`" +-export LD_LIBRARY_PATH + + for hdf5_cv_printf_ll in l ll L q unknown; do + AC_TRY_RUN([ +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -125,8 +125,6 @@ + # Remove the generated .c file if errors occur unless HDF5_Make_Ignore + # is set to ignore the error. + H5Tinit.c: H5detect$(EXEEXT) +- LD_LIBRARY_PATH="$$LD_LIBRARY_PATH`echo $(LDFLAGS) | \ +- sed -e 's/-L/:/g' -e 's/ //g'`" \ + $(RUNSERIAL) ./H5detect$(EXEEXT) > $@ || \ + (test $$HDF5_Make_Ignore && echo "*** Error ignored") || \ + ($(RM) $@ ; exit 1) +@@ -137,8 +135,6 @@ + # Remove the generated .c file if errors occur unless HDF5_Make_Ignore + # is set to ignore the error. + H5lib_settings.c: H5make_libsettings$(EXEEXT) libhdf5.settings +- LD_LIBRARY_PATH="$$LD_LIBRARY_PATH`echo $(LDFLAGS) | \ +- sed -e 's/-L/:/g' -e 's/ //g'`" \ + $(RUNSERIAL) ./H5make_libsettings$(EXEEXT) > $@ || \ + (test $$HDF5_Make_Ignore && echo "*** Error ignored") || \ + ($(RM) $@ ; exit 1) diff --git a/sci-libs/hdf5/files/hdf5-1.8.8-implicits.patch b/sci-libs/hdf5/files/hdf5-1.8.8-implicits.patch new file mode 100644 index 000000000000..d1217e83a989 --- /dev/null +++ b/sci-libs/hdf5/files/hdf5-1.8.8-implicits.patch @@ -0,0 +1,85 @@ +--- b/configure.in ++++ a/configure.in +@@ -1499,6 +1499,9 @@ + dnl though we do not do this as it breaks the big test on older versions + dnl of linux (CentOS 4.6) using newer versions of gcc (4.6.2). + AM_CPPFLAGS="-D_BSD_SOURCE $AM_CPPFLAGS" ++ ++ dnl _GNU_SOURCE is needed for vasprintf ++ AM_CPPFLAGS="-D_GNU_SOURCE $AM_CPPFLAGS" + ;; + esac + +--- a/test/cache_common.h ++++ b/test/cache_common.h +@@ -702,5 +702,9 @@ + hbool_t compare_init, + int test_num); + ++hbool_t resize_configs_are_equal(const H5C_auto_size_ctl_t *a, ++ const H5C_auto_size_ctl_t *b, ++ hbool_t compare_init); ++ + #endif /* _CACHE_COMMON_H */ + +--- a/tools/misc/talign.c ++++ b/tools/misc/talign.c +@@ -23,6 +23,7 @@ + + #include "hdf5.h" + #include "H5private.h" ++#include "h5tools.h" + + const char *fname = "talign.h5"; + const char *setname = "align"; +--- a/tools/h5repack/testh5repack_detect_szip.c ++++ b/tools/h5repack/testh5repack_detect_szip.c +@@ -17,6 +17,7 @@ + #include "h5repack.h" + #include "h5tools.h" + #include "h5test.h" ++#include "h5tools_utils.h" + + + /* Name of tool */ +--- a/tools/h5jam/h5jam.c ++++ b/tools/h5jam/h5jam.c +@@ -15,6 +15,7 @@ + + #include "hdf5.h" + #include "H5private.h" ++#include "h5tools.h" + #include "h5tools_utils.h" + + /* Name of tool */ +--- a/tools/h5jam/h5unjam.c ++++ b/tools/h5jam/h5unjam.c +@@ -15,6 +15,7 @@ + + #include "hdf5.h" + #include "H5private.h" ++#include "h5tools.h" + #include "h5tools_utils.h" + + /* Name of tool */ +--- a/tools/h5copy/h5copygentest.c ++++ b/tools/h5copy/h5copygentest.c +@@ -20,6 +20,7 @@ + #include "hdf5.h" + #include "H5private.h" + #include "h5tools.h" ++#include "h5tools_utils.h" + + /* Name of tool */ + #define PROGRAMNAME "h5copygentest" +--- a/hl/src/H5LTanalyze.c ++++ b/hl/src/H5LTanalyze.c +@@ -49,7 +49,8 @@ + #define YY_FLEX_MINOR_VERSION 5 + + #include <stdio.h> ++#include "H5pubconf.h" + #ifdef H5_HAVE_UNISTD_H + #include <unistd.h> + #endif + diff --git a/sci-libs/hdf5/files/hdf5-1.8.9-implicits.patch b/sci-libs/hdf5/files/hdf5-1.8.9-implicits.patch new file mode 100644 index 000000000000..43e4f0774a29 --- /dev/null +++ b/sci-libs/hdf5/files/hdf5-1.8.9-implicits.patch @@ -0,0 +1,55 @@ +--- b/configure.in ++++ a/configure.in +@@ -1499,6 +1499,9 @@ + dnl though we do not do this as it breaks the big test on older versions + dnl of linux (CentOS 4.6) using newer versions of gcc (4.6.2). + AM_CPPFLAGS="-D_BSD_SOURCE $AM_CPPFLAGS" ++ ++ dnl _GNU_SOURCE is needed for vasprintf ++ AM_CPPFLAGS="-D_GNU_SOURCE $AM_CPPFLAGS" + ;; + esac + +--- a/test/cache_common.h ++++ b/test/cache_common.h +@@ -702,5 +702,9 @@ + hbool_t compare_init, + int test_num); + ++hbool_t resize_configs_are_equal(const H5C_auto_size_ctl_t *a, ++ const H5C_auto_size_ctl_t *b, ++ hbool_t compare_init); ++ + #endif /* _CACHE_COMMON_H */ + +--- a/tools/misc/talign.c ++++ b/tools/misc/talign.c +@@ -23,6 +23,7 @@ + + #include "hdf5.h" + #include "H5private.h" ++#include "h5tools.h" + + const char *fname = "talign.h5"; + const char *setname = "align"; +--- a/tools/h5repack/testh5repack_detect_szip.c ++++ b/tools/h5repack/testh5repack_detect_szip.c +@@ -17,6 +17,7 @@ + #include "h5repack.h" + #include "h5tools.h" + #include "h5test.h" ++#include "h5tools_utils.h" + + + /* Name of tool */ +--- a/hl/src/H5LTanalyze.c ++++ b/hl/src/H5LTanalyze.c +@@ -49,7 +49,8 @@ + #define YY_FLEX_MINOR_VERSION 5 + + #include <stdio.h> ++#include "H5pubconf.h" + #ifdef H5_HAVE_UNISTD_H + #include <unistd.h> + #endif + diff --git a/sci-libs/hdf5/files/hdf5-1.8.9-mpicxx.patch b/sci-libs/hdf5/files/hdf5-1.8.9-mpicxx.patch new file mode 100644 index 000000000000..28f554c0c592 --- /dev/null +++ b/sci-libs/hdf5/files/hdf5-1.8.9-mpicxx.patch @@ -0,0 +1,16 @@ +Prevent accidental inclusion of mpi c++ headers +when hdf5.h is included third party library + +https://bugs.gentoo.org/show_bug.cgi?id=420777 + +--- a/src/H5public.h ++++ b/src/H5public.h +@@ -58,6 +58,8 @@ + # include <stddef.h> + #endif + #ifdef H5_HAVE_PARALLEL ++# define OMPI_SKIP_MPICXX /* Make sure that cxx specific headers are not included */ ++# define MPICH_SKIP_MPICXX + # include <mpi.h> + #ifndef MPI_FILE_NULL /*MPIO may be defined in mpi.h already */ + # include <mpio.h> diff --git a/sci-libs/hdf5/files/hdf5-1.8.9-static_libgfortran.patch b/sci-libs/hdf5/files/hdf5-1.8.9-static_libgfortran.patch new file mode 100644 index 000000000000..f87ccdd08f7a --- /dev/null +++ b/sci-libs/hdf5/files/hdf5-1.8.9-static_libgfortran.patch @@ -0,0 +1,15 @@ +Make sure that during runtime we'll use the same libgfortran as during linking + +https://bugs.gentoo.org/show_bug.cgi?id=419991 +https://bugs.gentoo.org/show_bug.cgi?id=419895 + +--- a/fortran/src/Makefile.am ++++ b/fortran/src/Makefile.am +@@ -181,6 +181,7 @@ + else + H5test_kind_SOURCES = $(srcdir)/H5test_kind.f90 + endif ++H5test_kind_LDFLAGS=-static-libgfortran + + # Mark this directory as part of the Fortran API + FORTRAN_API=yes diff --git a/sci-libs/hdf5/files/mpd.conf b/sci-libs/hdf5/files/mpd.conf new file mode 100644 index 000000000000..07dd9825023a --- /dev/null +++ b/sci-libs/hdf5/files/mpd.conf @@ -0,0 +1,2 @@ +secretword=test69hike +MPD_SECRETWORD=test69hike |