guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

154/216: gnu: colord-minimal: Fix build with gcc-14.


From: guix-commits
Subject: 154/216: gnu: colord-minimal: Fix build with gcc-14.
Date: Sat, 4 Jan 2025 07:27:34 -0500 (EST)

janneke pushed a commit to branch core-packages-team
in repository guix.

commit a9af65746b4318f5c297cf4a0a5c2402a7e394e0
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Thu Jan 2 19:26:00 2025 +0100

    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 61dd09af11..df3b8ca99d 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -5680,6 +5680,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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]