z572 pushed a commit to branch core-packages-team
in repository guix.

commit 72a7d4d02c24c1f6f1b66c40213612bd5b56015c
Author: Janneke Nieuwenhuizen <[email protected]>
AuthorDate: Mon Dec 30 17:02:51 2024 +0100

    gnu: vala-0.52: Fix build with gcc-14.
    
    * gnu/packages/gnome.scm (vala-0.52)[argumens]: New field.
    
    Change-Id: I9fbc643df7571405f4b36aa44de9d76596e2aece
---
 gnu/packages/gnome.scm | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index c94c0194c3..3df9c71376 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -4621,7 +4621,15 @@ targeting the GNOME stack simple.")
                                   "vala-" version ".tar.xz"))
               (sha256
                (base32
-                "12y6p8wdjp01vmfhxg2cgh32xnyqq6ivblvrar9clnj6vc867qhx"))))))
+                "12y6p8wdjp01vmfhxg2cgh32xnyqq6ivblvrar9clnj6vc867qhx"))))
+    (arguments
+     (substitute-keyword-arguments (package-arguments vala)
+       ((#:configure-flags flags #~'())
+        #~(cons*
+           (string-append "CFLAGS=-g -O2"
+                          " -Wno-error=address"
+                          " -Wno-error=incompatible-pointer-types")
+           #$flags))))))
 
 (define-public vte
   (package

Reply via email to