janneke pushed a commit to branch core-packages-team in repository guix. commit 3e0733970581ddff81fc8c3eb7dbd19b8810008e Author: Janneke Nieuwenhuizen <jann...@gnu.org> AuthorDate: Sat Jan 4 09:51:31 2025 +0100
gnu: gnome-font-viewer: Fix build with gcc-14. * gnu/packages/gnome.scm (gnome-font-viewer)[arguments]: Add phase "relax-gcc-14-strictness". Change-Id: I16757149c442190ab7c4e0821c30131a755fdcd8 --- gnu/packages/gnome.scm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 3f7d7f8d31..80cba9c2bd 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -2421,6 +2421,11 @@ The gnome-about program helps find which version of GNOME is installed.") (lambda _ (substitute* "meson-postinstall.sh" (("update-desktop-database") (which "true"))))) + (add-before 'configure 'relax-gcc-14-strictness + (lambda _ + (setenv "CFLAGS" + (string-append "-g -O2" + " -Wno-error=incompatible-pointer-types")))) (add-after 'install 'patch-thumbnailer (lambda* (#:key outputs #:allow-other-keys) (substitute*