GNU bug report logs -
#64448
[PATCH 0/2] Fix hdf5-1.14 wrappers and remove generated source files from all hdf5 versions.
Previous Next
Reported by: David Elsing <david.elsing <at> posteo.net>
Date: Mon, 3 Jul 2023 21:59:02 UTC
Severity: normal
Tags: patch
Done: David Elsing <david.elsing <at> posteo.net>
Bug is archived. No further changes may be made.
Full log
Message #11 received at 64448 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/maths.scm (hdf5-1.14)[arguments]: Use
'substitute-keyword-arguments' to add 'remove-subfiling-cppflags phase.
---
gnu/packages/maths.scm | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index b2029db615..5ba9e07058 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -1672,7 +1672,18 @@ (define-public hdf5-1.14
(base32 "181bdh8hp7v9xqwcby3lknr92lxlicc2hqscba3f5nhf8lrr9rz4"))
(modules '((guix build utils)))
(snippet hdf5-snippet)
- (patches (search-patches "hdf5-config-date.patch"))))))
+ (patches (search-patches "hdf5-config-date.patch"))))
+ (arguments
+ (substitute-keyword-arguments (package-arguments hdf5-1.10)
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ ;; Remove include flag to directory in source tree
+ (add-after 'configure 'remove-subfiling-cppflags
+ (lambda _
+ (substitute* '("src/libhdf5.settings"
+ "bin/h5cc"
+ "c++/src/h5c++")
+ (("-I.*/src/H5FDsubfiling") ""))))))))))
(define-public hdf5
;; Default version of HDF5.
--
2.40.1
This bug report was last modified 43 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.