unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#74353] [PATCH] gnu: hdf5: Remove machine info from libraries.
@ 2024-11-14 14:49 Lars Bilke
  2024-11-18  9:20 ` bug#74353: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Lars Bilke @ 2024-11-14 14:49 UTC (permalink / raw)
  To: 74353; +Cc: Lars Bilke, Andreas Enge, Eric Bavier, Sharlatan Hellseher

Change-Id: I1435b866babeb95af48e0fd970d931f022c8bc67
---
 gnu/packages/maths.scm | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index bb6c1648b5..89fb9291b8 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -1726,7 +1726,14 @@ (define-public hdf5-1.14
                 ;; modifies the test reference.
                 (substitute* "test/test_check_version.sh.in"
                   (("TESTING\\(\\).*" all)
-                   (string-append all "\nSKIP; exit 0\n")))))))))))
+                   (string-append all "\nSKIP; exit 0\n")))))
+            (add-after 'patch-configure 'patch-configure-build-settings
+              (lambda _
+                (substitute* "src/H5build_settings.autotools.c.in"
+                  ;; Don't record the build-time kernel version to make the
+                  ;; library file reproducible.
+                  (("@UNAME_INFO@")
+                   "Linux"))))))))))
 
 (define-public hdf5
   ;; Default version of HDF5.

base-commit: b10ce47d8be5b6c15987f4e1d93b3bd71b1eb220
-- 
2.44.0





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#74353: [PATCH] gnu: hdf5: Remove machine info from libraries.
  2024-11-14 14:49 [bug#74353] [PATCH] gnu: hdf5: Remove machine info from libraries Lars Bilke
@ 2024-11-18  9:20 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2024-11-18  9:20 UTC (permalink / raw)
  To: Lars Bilke; +Cc: Andreas Enge, Sharlatan Hellseher, 74353-done, Eric Bavier

Lars Bilke <lars.bilke@ufz.de> skribis:

> Change-Id: I1435b866babeb95af48e0fd970d931f022c8bc67
> ---
>  gnu/packages/maths.scm | 9 ++++++++-
>  1 file changed, 8 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
> index bb6c1648b5..89fb9291b8 100644
> --- a/gnu/packages/maths.scm
> +++ b/gnu/packages/maths.scm
> @@ -1726,7 +1726,14 @@ (define-public hdf5-1.14
>                  ;; modifies the test reference.
>                  (substitute* "test/test_check_version.sh.in"
>                    (("TESTING\\(\\).*" all)
> -                   (string-append all "\nSKIP; exit 0\n")))))))))))
> +                   (string-append all "\nSKIP; exit 0\n")))))
> +            (add-after 'patch-configure 'patch-configure-build-settings
> +              (lambda _
> +                (substitute* "src/H5build_settings.autotools.c.in"
> +                  ;; Don't record the build-time kernel version to make the
> +                  ;; library file reproducible.
> +                  (("@UNAME_INFO@")
> +                   "Linux"))))))))))

Added a commit log and applied it, thanks!




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-11-18  9:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-14 14:49 [bug#74353] [PATCH] gnu: hdf5: Remove machine info from libraries Lars Bilke
2024-11-18  9:20 ` bug#74353: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).