andreas pushed a commit to branch core-packages-team
in repository guix.
commit f314f010d091eaf67b6a70d0dd57844945ee9722
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 1b92319650..696a740b7e 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*