1 |
xarthisius 10/11/05 17:29:36 |
2 |
|
3 |
Added: hdf5-1.8.5-implicits.patch |
4 |
Log: |
5 |
Fix implicits. |
6 |
|
7 |
(Portage version: 2.1.9.24/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 sci-libs/hdf5/files/hdf5-1.8.5-implicits.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/hdf5/files/hdf5-1.8.5-implicits.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/hdf5/files/hdf5-1.8.5-implicits.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: hdf5-1.8.5-implicits.patch |
16 |
=================================================================== |
17 |
Fix implicit function declarations |
18 |
|
19 |
--- hdf5-1.8.5-patch1/tools/misc/talign.c |
20 |
+++ hdf5-1.8.5-patch1/tools/misc/talign.c |
21 |
@@ -23,6 +23,7 @@ |
22 |
|
23 |
#include "hdf5.h" |
24 |
#include "H5private.h" |
25 |
+#include "h5tools.h" |
26 |
|
27 |
const char *fname = "talign.h5"; |
28 |
const char *setname = "align"; |
29 |
--- hdf5-1.8.5-patch1/tools/lib/h5tools_utils.c |
30 |
+++ hdf5-1.8.5-patch1/tools/lib/h5tools_utils.c |
31 |
@@ -31,6 +31,7 @@ |
32 |
#include "h5tools_utils.h" |
33 |
#include "H5private.h" |
34 |
#include "h5trav.h" |
35 |
+#include "h5diff.h" |
36 |
|
37 |
/* global variables */ |
38 |
int nCols = 80; |
39 |
--- hdf5-1.8.5-patch1/src/H5E.c |
40 |
+++ hdf5-1.8.5-patch1/src/H5E.c |
41 |
@@ -54,6 +54,8 @@ |
42 |
/***********/ |
43 |
/* Headers */ |
44 |
/***********/ |
45 |
+#define _GNU_SOURCE |
46 |
+#include <stdio.h> |
47 |
#include "H5private.h" /* Generic Functions */ |
48 |
#include "H5Iprivate.h" /* IDs */ |
49 |
#include "H5Epkg.h" /* Error handling */ |
50 |
--- hdf5-1.8.5-patch1/src/H5Eint.c |
51 |
+++ hdf5-1.8.5-patch1/src/H5Eint.c |
52 |
@@ -37,6 +37,8 @@ |
53 |
/***********/ |
54 |
/* Headers */ |
55 |
/***********/ |
56 |
+#define _GNU_SOURCE |
57 |
+#include <stdio.h> |
58 |
#include "H5private.h" /* Generic Functions */ |
59 |
#include "H5Epkg.h" /* Error handling */ |
60 |
#include "H5Iprivate.h" /* IDs */ |
61 |
--- hdf5-1.8.5-patch1/tools/h5copy/h5copygentest.c |
62 |
+++ hdf5-1.8.5-patch1/tools/h5copy/h5copygentest.c |
63 |
@@ -20,6 +20,7 @@ |
64 |
#include "hdf5.h" |
65 |
#include "H5private.h" |
66 |
#include "h5tools.h" |
67 |
+#include "h5tools_utils.h" |
68 |
|
69 |
/* Name of tool */ |
70 |
#define PROGRAMNAME "h5copygentest" |
71 |
--- hdf5-1.8.5-patch1/tools/h5repack/testh5repack_detect_szip.c |
72 |
+++ hdf5-1.8.5-patch1/tools/h5repack/testh5repack_detect_szip.c |
73 |
@@ -17,7 +17,7 @@ |
74 |
#include "h5repack.h" |
75 |
#include "h5tools.h" |
76 |
#include "h5test.h" |
77 |
- |
78 |
+#include "h5tools_utils.h" |
79 |
|
80 |
/* Name of tool */ |
81 |
#define PROGRAMNAME "h5repack_detect_szip" |