From 086b08f1937339da6e1f4e452d2a09bb3790929b Mon Sep 17 00:00:00 2001 From: Janneke Nieuwenhuizen Date: Sun, 5 Jan 2025 13:40:15 +0100 Subject: [PATCH] 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 dfbf9af9f005cfd43452828b2d86f94c425e0d6e..d4e36265c1c15fe75ca83430bcf92232c4b53b32 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -12964,7 +12964,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