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

commit df82836564f89cb48893aa263828208718f37030
Author: Hugo Buddelmeijer <h...@buddelmeijer.nl>
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 <sharlata...@gmail.com>
---
 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 47f2ee90b7..906024ff7d 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -17,6 +17,7 @@
 ;;; Copyright © 2024-2025 Artyom V. Poptsov <poptsov.art...@gmail.com>
 ;;; Copyright © 2025 Vasilii Smirnov <vasilii.smir...@mailbox.org>
 ;;; Copyright © 2025 Daniel Ziltener <dzilte...@lyrion.ch>
+;;; Copyright © 2025 Hugo Buddelmeijer <h...@buddelmeijer.nl>
 ;;;
 ;;; 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