janneke pushed a commit to branch core-packages-team
in repository guix.

commit e62fb639795b337b35e1acbcd3fb65965907c0b2
Author: Janneke Nieuwenhuizen <jann...@gnu.org>
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 1aa5f7e221..5756f1505d 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

Reply via email to