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

commit c01cbf4637d0a2b3aedbdfed5bfef5da92bf545c
Author: Janneke Nieuwenhuizen <jann...@gnu.org>
AuthorDate: Sun Jan 5 13:40:15 2025 +0100

    gnu: gnome-boxes: Fix build with gcc-14.
    
    * gnu/packages/gnome.scm (gnome-boxes)[arguments]: Add phase
    "relax-gcc-14-strictness".
    
    Change-Id: I0d29ddcc368d56c572caea0fb55fa15618193bc1
---
 gnu/packages/gnome.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 18fadcae67..28f8c758b8 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -13004,7 +13004,11 @@ integrate seamlessly with the GNOME desktop.")
                             (substitute* "src/installed-media.vala"
                               (("qemu-img")
                                (search-input-file inputs
-                                                  "/bin/qemu-img"))))))))
+                                                  "/bin/qemu-img")))))
+                        (add-before 'configure 'relax-gcc-14-strictness
+                          (lambda _
+                            (setenv "CFLAGS"
+                                    "-g -O2 -Wno-error=int-conversion"))))))
     (native-inputs
      (list desktop-file-utils           ;for update-desktop-database
            gettext-minimal

Reply via email to