mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add hdf-eos5.
* gnu/packages/maths.scm (hdf-eos5): New variable. * gnu/packages/patches/hdf-eos5-build-shared.patch: New file. * gnu/packages/patches/hdf-eos5-remove-gctp.patch: New file. * gnu/packages/patches/hdf-eos5-fix-szip.patch: New file. * gnu/packages/patches/hdf-eos5-fortrantests.patch: New file. * gnu/local.mk (dist_patch_DATA): Add patches. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
b282c78192
commit
0f43f8354c
6 changed files with 313 additions and 0 deletions
30
gnu/packages/patches/hdf-eos5-fix-szip.patch
Normal file
30
gnu/packages/patches/hdf-eos5-fix-szip.patch
Normal file
|
@ -0,0 +1,30 @@
|
|||
Ill-placed #endif causes missing symbol errors when compiling without
|
||||
szip. Reported to upstream maintainer.
|
||||
---
|
||||
src/EHapi.c | 3 +--
|
||||
1 file changed, 1 insertion(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/EHapi.c b/src/EHapi.c
|
||||
index 46a9b5c..208f447 100755
|
||||
--- a/src/EHapi.c
|
||||
+++ b/src/EHapi.c
|
||||
@@ -11379,6 +11379,7 @@ int HE5_szip_can_encode(void )
|
||||
return(-1);
|
||||
}
|
||||
|
||||
+#endif /* H5_HAVE_FILTER_SZIP */
|
||||
|
||||
|
||||
/*----------------------------------------------------------------------------|
|
||||
@@ -11509,8 +11510,6 @@ HE5_EHHEisHE5(char *filename)
|
||||
}
|
||||
}
|
||||
|
||||
-#endif /* H5_HAVE_FILTER_SZIP */
|
||||
-
|
||||
|
||||
#ifndef __cplusplus
|
||||
|
||||
--
|
||||
2.10.0
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue