janneke pushed a commit to branch core-packages-team
in repository guix.
commit 457a785d0c75363dda03e52e78202f8b0d904ed6
Author: Janneke Nieuwenhuizen <[email protected]>
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 8e48051f1b..861d7ff924 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -2445,6 +2445,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*