From ce85fa139fa3f1e16b107cfc850e9e2e290a716a Mon Sep 17 00:00:00 2001 From: Janneke Nieuwenhuizen Date: Sun, 5 Jan 2025 13:24:43 +0100 Subject: [PATCH] gnu: gnome-recipes: Fix build with gcc-14. * gnu/packages/gnome.scm (gnome-recipes)[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 b6fb2438ad..dfbf9af9f0 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -811,7 +811,13 @@ patterns.") (lambda _ (copy-recursively #$(this-package-native-input "libgd-checkout") - "subprojects/libgd")))))) + "subprojects/libgd"))) + (add-before 'configure 'relax-gcc-14-strictness + (lambda _ + (setenv "CFLAGS" + (string-append + "-g -O2" + " -Wno-error=incompatible-pointer-types"))))))) (inputs (list glib gnome-autoar gnome-online-accounts