janneke pushed a commit to branch core-packages-team
in repository guix.
commit a0f46d847a02f1cd365e1a612809ffb6d08505e2
Author: Janneke Nieuwenhuizen <[email protected]>
AuthorDate: Sun Jan 5 13:07:31 2025 +0100
gnu: folks: Fix build with gcc-14.
* gnu/packages/gnome.scm (folks)[arguments]: Add phase
"relax-gcc-14-strictness".
Change-Id: I1d9bc4ee914a0b6ffdabced3fa8febee5feacc30
---
gnu/packages/gnome.scm | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 1ae3cce32a..4341d1c092 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -11254,7 +11254,13 @@ functionality and behavior.")
(lambda _
(substitute* "meson.build"
(("gtk_update_icon_cache: true")
- "gtk_update_icon_cache: false")))))))
+ "gtk_update_icon_cache: false"))))
+ (add-before 'configure 'relax-gcc-14-strictness
+ (lambda _
+ (setenv "CFLAGS"
+ (string-append "-g -O2"
+ "
-Wno-error=implicit-function-declaration"
+ "
-Wno-error=incompatible-pointer-types")))))))
(inputs
(list bdb
dbus-glib