[med-svn] [sra-sdk] 02/02: Properly detect hdf5 library
Andreas Tille
tille at debian.org
Tue Jul 12 11:56:21 UTC 2016
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository sra-sdk.
commit 3029dfcd3606652ebe6eada16b0e8eb2b68721c4
Author: Andreas Tille <tille at debian.org>
Date: Tue Jul 12 13:45:45 2016 +0200
Properly detect hdf5 library
---
debian/patches/find_hdf5_serial.patch | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/debian/patches/find_hdf5_serial.patch b/debian/patches/find_hdf5_serial.patch
new file mode 100644
index 0000000..f59c34d
--- /dev/null
+++ b/debian/patches/find_hdf5_serial.patch
@@ -0,0 +1,11 @@
+--- a/setup/konfigure.perl
++++ b/setup/konfigure.perl
+@@ -1482,7 +1482,7 @@ sub check_compiler {
+ $log = ' int main() { }\n'
+ } elsif ($n eq 'hdf5') {
+ $library = '-lhdf5_serial';
+- $log = '#include <hdf5.h> \n int main() { H5close (); }\n'
++ $log = '#include <hdf5/serial/hdf5.h> \n int main() { H5close (); }\n'
+ } elsif ($n eq 'fuse') {
+ $flags = '-D_FILE_OFFSET_BITS=64';
+ $library = '-lfuse';
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/sra-sdk.git
More information about the debian-med-commit
mailing list