guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 9122274303ee68485cf062b55f562ef9cab66927
Author: Danny Milosavljevic <[email protected]>
AuthorDate: Wed Jul 30 22:26:46 2025 +0200

    gnu: perl-pdl-2.019: Fix build.
    
    * gnu/packages/perl-maths.scm 
(perl-pdl-2.019)[arguments]<#:make-maker-flags>:
    Add "-Wno-error=implicit-function-declaration".
    
    Change-Id: I80c7be7b5b09c65c9c0fd3b3973e2ae13dc53546
    
    Change-Id: I2f60584c8d4d33411ba04e5333462e4d15643f6f
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/perl-maths.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/perl-maths.scm b/gnu/packages/perl-maths.scm
index 71e1e819c1..5acf2e2fef 100644
--- a/gnu/packages/perl-maths.scm
+++ b/gnu/packages/perl-maths.scm
@@ -125,7 +125,10 @@ using a list of (X, Y) pairs.")
         (search-patches "pdl-2.019-glut-bitmap-fonts.patch"))))
     (build-system perl-build-system)
     (arguments
-     `(#:phases
+     `(#:make-maker-flags
+       ;; This is required because of "gsl_set_error_handler_off".
+       `("OPTIMIZE=-O2 -Wno-error=implicit-function-declaration")
+       #:phases
        (modify-phases %standard-phases
          (add-after 'unpack 'patch-includes
            (lambda* (#:key inputs #:allow-other-keys)

Reply via email to