From c931c0a71de6ceb5203c45a4a3d0d6525b834f79 Mon Sep 17 00:00:00 2001 From: Janneke Nieuwenhuizen Date: Sun, 5 Jan 2025 13:07:31 +0100 Subject: [PATCH] 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 d1080f9cbb..bd82cbbba4 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -11096,7 +11096,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