z572 pushed a commit to branch core-packages-team
in repository guix.
commit 4f99230eee36ace3014ebada414d7ef5271abfe7
Author: Janneke Nieuwenhuizen <[email protected]>
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 7b9f39a148..86d368ba8f 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -12837,7 +12837,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