From 922fe03dfe1d4e4161c800cf200931de5babbd94 Mon Sep 17 00:00:00 2001 From: Janneke Nieuwenhuizen Date: Thu, 2 Jan 2025 19:26:00 +0100 Subject: gnu: colord-minimal: Fix build with gcc-14. * gnu/packages/gnome.scm (colord-minimal)[arguments]: Add phase "relax-gcc-14-strictness". Change-Id: I0c91b7bb16a1ee80db1757626c0025ebde652f3a --- gnu/packages/gnome.scm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 38cc250ff70..b8ab1473e85 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -5774,6 +5774,10 @@ file.") (not (target-little-endian?)))) #:phases #~(modify-phases %standard-phases + (add-before 'configure 'relax-gcc-14-strictness + (lambda _ + (setenv "CFLAGS" + "-g -O2 -Wno-error=incompatible-pointer-types"))) (add-after 'unpack 'disable-problematic-tests (lambda _ ;; Skip the colord-test-private, which requires a *system* D-Bus -- cgit v1.3