You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sci-libs/hdf5/files/hdf5-1.8.8-implicits.patch

86 lines
2.0 KiB

--- 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