From 36755581c114e4134abbe09faf16c1744614a719 Mon Sep 17 00:00:00 2001 From: Zheng Junjie Date: Sun, 6 Jul 2025 14:17:06 +0800 Subject: [PATCH] gnu: gnome-vfs: Fix build with gcc-14. * gnu/packages/gnome.scm (gnome-vfs): [arguments]<#:configure-flags>: Add CFLAGS to relax gcc-14's strictness. Change-Id: Ied920c9a700cc68f8f8c8cde2c850c5af19d1212 --- gnu/packages/gnome.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index a2ff88ffb59d1d42c3aeca3478f642e61dd4425f..37204d47016600ff5dfbee0f5b6d59c5192ac6c4 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -4114,7 +4114,12 @@ designed to be accessed through the MIME functions in GnomeVFS.") "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2")))) (build-system gnu-build-system) (arguments - `(#:phases + `(#:configure-flags + ;; Add CFLAGS to relax gcc-14's strictness. + (list (string-append + "CFLAGS=-g -O2" + " -Wno-error=implicit-function-declaration")) + #:phases (modify-phases %standard-phases (add-before 'configure 'ignore-deprecations (lambda _