janneke pushed a commit to branch core-packages-team
in repository guix.
commit bb97b35d5dab0b303f859aaec8a80c14b48862a0
Author: Janneke Nieuwenhuizen <[email protected]>
AuthorDate: Sun Jan 5 13:24:43 2025 +0100
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 4341d1c092..18fadcae67 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