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

commit fb470c7e368df213fac9c5de0c7a30804a334028
Author: Janneke Nieuwenhuizen <jann...@gnu.org>
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 52010512b3..422638cab7 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -4675,7 +4675,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