summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/hdf5/files/hdf5-1.8.5-implicits.patch')
-rw-r--r--sci-libs/hdf5/files/hdf5-1.8.5-implicits.patch65
1 files changed, 65 insertions, 0 deletions
diff --git a/sci-libs/hdf5/files/hdf5-1.8.5-implicits.patch b/sci-libs/hdf5/files/hdf5-1.8.5-implicits.patch
new file mode 100644
index 0000000..89a9998
--- /dev/null
+++ b/sci-libs/hdf5/files/hdf5-1.8.5-implicits.patch
@@ -0,0 +1,65 @@
+Fix implicit function declarations
+
+--- hdf5-1.8.5-patch1/tools/misc/talign.c
++++ hdf5-1.8.5-patch1/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";
+--- hdf5-1.8.5-patch1/tools/lib/h5tools_utils.c
++++ hdf5-1.8.5-patch1/tools/lib/h5tools_utils.c
+@@ -31,6 +31,7 @@
+ #include "h5tools_utils.h"
+ #include "H5private.h"
+ #include "h5trav.h"
++#include "h5diff.h"
+
+ /* global variables */
+ int nCols = 80;
+--- hdf5-1.8.5-patch1/src/H5E.c
++++ hdf5-1.8.5-patch1/src/H5E.c
+@@ -54,6 +54,8 @@
+ /***********/
+ /* Headers */
+ /***********/
++#define _GNU_SOURCE
++#include <stdio.h>
+ #include "H5private.h" /* Generic Functions */
+ #include "H5Iprivate.h" /* IDs */
+ #include "H5Epkg.h" /* Error handling */
+--- hdf5-1.8.5-patch1/src/H5Eint.c
++++ hdf5-1.8.5-patch1/src/H5Eint.c
+@@ -37,6 +37,8 @@
+ /***********/
+ /* Headers */
+ /***********/
++#define _GNU_SOURCE
++#include <stdio.h>
+ #include "H5private.h" /* Generic Functions */
+ #include "H5Epkg.h" /* Error handling */
+ #include "H5Iprivate.h" /* IDs */
+--- hdf5-1.8.5-patch1/tools/h5copy/h5copygentest.c
++++ hdf5-1.8.5-patch1/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"
+--- hdf5-1.8.5-patch1/tools/h5repack/testh5repack_detect_szip.c
++++ hdf5-1.8.5-patch1/tools/h5repack/testh5repack_detect_szip.c
+@@ -17,7 +17,7 @@
+ #include "h5repack.h"
+ #include "h5tools.h"
+ #include "h5test.h"
+-
++#include "h5tools_utils.h"
+
+ /* Name of tool */
+ #define PROGRAMNAME "h5repack_detect_szip"