Skip to content
Permalink
Browse files

hdf5: fix implicitly defined functions

  • Loading branch information
Schamschula committed Jun 26, 2020
1 parent ab921da commit 691e48ba5e700c5840f7f01e2db59f440a5c56a1
Showing with 53 additions and 1 deletion.
  1. +2 −1 science/hdf5/Portfile
  2. +51 −0 science/hdf5/files/patch-implicity-defined.diff
@@ -35,7 +35,8 @@ use_bzip2 yes
depends_lib port:zlib
use_parallel_build yes

patchfiles patch-tools-src-misc-h5cc.in.diff
patchfiles patch-tools-src-misc-h5cc.in.diff \
patch-implicity-defined.diff

# llvm-gcc-4.2 produced code fails type conversion tests
# Upstream suggestion is use -O0. Clang-produced code passes all tests.
@@ -0,0 +1,51 @@
--- src/H5Fsuper.c.orig 2019-12-19 10:38:30.000000000 -0600
+++ src/H5Fsuper.c 2020-06-26 10:36:42.000000000 -0500
@@ -53,6 +53,7 @@
/* Local Prototypes */
/********************/
static herr_t H5F__super_ext_create(H5F_t *f, H5O_loc_t *ext_ptr);
+static herr_t H5O__fsinfo_set_version(H5F_t *f, H5O_fsinfo_t *fsinfo);
static herr_t H5F__update_super_ext_driver_msg(H5F_t *f);


--- src/H5Odeprec.c.orig 2019-12-19 10:38:30.000000000 -0600
+++ src/H5Odeprec.c 2020-06-26 10:45:12.000000000 -0500
@@ -54,7 +54,16 @@
/********************/
/* Local Prototypes */
/********************/
-
+static herr_t H5CX_set_apl(hid_t *acspl_id, const H5P_libclass_t *libclass,
+ hid_t
+#ifndef H5_HAVE_PARALLEL
+ H5_ATTR_UNUSED
+#endif /* H5_HAVE_PARALLEL */
+ loc_id, hbool_t
+#ifndef H5_HAVE_PARALLEL
+ H5_ATTR_UNUSED
+#endif /* H5_HAVE_PARALLEL */
+ is_collective);

/*********************/
/* Package Variables */
--- src/H5Oint.c.orig 2019-12-19 10:38:30.000000000 -0600
+++ src/H5Oint.c 2020-06-26 11:04:56.000000000 -0500
@@ -74,6 +74,7 @@
/* Local Prototypes */
/********************/

+static herr_t H5CX_get_ohdr_flags(uint8_t *ohdr_flags);
static herr_t H5O__delete_oh(H5F_t *f, H5O_t *oh);
static herr_t H5O__obj_type_real(const H5O_t *oh, H5O_type_t *obj_type);
static herr_t H5O__get_hdr_info_real(const H5O_t *oh, H5O_hdr_info_t *hdr);
--- src/H5Rint.c.orig 2019-12-19 10:38:30.000000000 -0600
+++ src/H5Rint.c 2020-06-26 11:07:46.000000000 -0500
@@ -46,6 +46,8 @@
/********************/
/* Local Prototypes */
/********************/
+static herr_t H5CX_set_libver_bounds(H5F_t *f);
+

/*********************/
/* Package Variables */

0 comments on commit 691e48b

Please sign in to comment.
You can’t perform that action at this time.