gnu: colord-minimal: Fix build with gcc-14.

* gnu/packages/gnome.scm (colord-minimal)[arguments]: Add phase
"setup-build-environment" to relax gcc-14's strictness.

Change-Id: I0c91b7bb16a1ee80db1757626c0025ebde652f3a
This commit is contained in:
Janneke Nieuwenhuizen 2025-01-02 19:26:00 +01:00
parent 74c48f8382
commit 3105293f4c
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -5680,6 +5680,10 @@ (define-public colord-minimal
(not (target-little-endian?))))
#:phases
#~(modify-phases %standard-phases
(add-before 'configure 'setup-build-environment
(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