guix_mirror_bot pushed a commit to branch astro-updates
in repository guix.

commit db779ce32465ff7f20d01cc834568f8144f62435
Author: Hugo Buddelmeijer <[email protected]>
AuthorDate: Thu Aug 14 12:44:45 2025 +0200

    gnu: cfitsio: Enable reentrant multithreading.
    
    To build ESO’s Common Pipeline Library (CPL), CFITSIO has to be compiled
    with enabled reentrant multithreading configure flag.
    
    See: <https://www.eso.org/sci/software/cpl/download.html>
    
    * gnu/packages/astronomy.scm (cfitsio)[arguments]<#:configure-flags>:
      Add "--enable-reentrant".
    
    Change-Id: I75f36af8a9dc86becf4c7c764ade6f8e53f5a279
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/astronomy.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 0960b567a5..313fdc0c31 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -17,6 +17,7 @@
 ;;; Copyright © 2024-2025 Artyom V. Poptsov <[email protected]>
 ;;; Copyright © 2025 Vasilii Smirnov <[email protected]>
 ;;; Copyright © 2025 Daniel Ziltener <[email protected]>
+;;; Copyright © 2025 Hugo Buddelmeijer <[email protected]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -631,7 +632,8 @@ accurately in real time at any rate desired.")
     (arguments
      (list
       #:configure-flags
-      #~(list (string-append "--with-bzip2=" #$(this-package-input "bzip2")))
+      #~(list "--enable-reentrant"
+              (string-append "--with-bzip2=" #$(this-package-input "bzip2")))
       #:phases
       #~(modify-phases %standard-phases
           (add-after 'unpack 'patch-paths

Reply via email to