guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 34b16f9201ec27ddfcfe897d4dd19b431f628839
Author: Sharlatan Hellseher <sharlata...@gmail.com>
AuthorDate: Sun Jul 20 20:24:55 2025 +0100

    gnu: glnemo2: Fix build with gcc@14.
    
    * gnu/packages/astronomy.scm (glnemo2) [arguments] <configure-flags>:
      Ignore 3 warnings.
    
    Change-Id: I03fe28d04e3c9801fc0254706643d5a3c6d235a8
---
 gnu/packages/astronomy.scm | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index b597989662..d9dabfe372 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -802,8 +802,8 @@ corrections.")
      (origin
        (method git-fetch)
        (uri (git-reference
-             (url "https://gitlab.lam.fr/jclamber/glnemo2";)
-             (commit version)))
+              (url "https://gitlab.lam.fr/jclamber/glnemo2";)
+              (commit version)))
        (file-name (git-file-name name version))
        (sha256
         (base32 "1jmmxszh8d2jmfghig36nhykff345mqnpssfa64d0r7l9cnfp3cn"))))
@@ -811,7 +811,12 @@ corrections.")
     (arguments
      (list
       #:tests? #f        ; No test target
-      #:configure-flags #~(list "CPPFLAGS=-fcommon")
+      #:configure-flags
+      #~(list "CPPFLAGS=-fcommon"
+              (string-append "-DCMAKE_C_FLAGS="
+                             " -Wno-error=implicit-function-declaration"
+                             " -Wno-error=implicit-int"
+                             " -Wno-error=int-conversion"))
       #:phases
       #~(modify-phases %standard-phases
           (add-after 'unpack 'patch-libraries-paths

Reply via email to