guix-commits
[Top][All Lists]
Advanced

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

192/246: gnu: gnome-font-viewer: Fix build with gcc-14.


From: guix-commits
Subject: 192/246: gnu: gnome-font-viewer: Fix build with gcc-14.
Date: Mon, 13 Jan 2025 03:06:36 -0500 (EST)

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

commit 5321a831d309f03d2b2491c5f9f9115dcb147b2b
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Sat Jan 4 09:51:31 2025 +0100

    gnu: gnome-font-viewer: Fix build with gcc-14.
    
    * gnu/packages/gnome.scm (gnome-font-viewer)[arguments]: Add phase
    "relax-gcc-14-strictness".
    
    Change-Id: I16757149c442190ab7c4e0821c30131a755fdcd8
---
 gnu/packages/gnome.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index fe8939fe40..0d9af95792 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -2420,6 +2420,11 @@ The gnome-about program helps find which version of 
GNOME is installed.")
             (lambda _
               (substitute* "meson-postinstall.sh"
                 (("update-desktop-database") (which "true")))))
+          (add-before 'configure 'relax-gcc-14-strictness
+            (lambda _
+              (setenv "CFLAGS"
+                      (string-append "-g -O2"
+                                     " 
-Wno-error=incompatible-pointer-types"))))
           (add-after 'install 'patch-thumbnailer
             (lambda* (#:key outputs #:allow-other-keys)
               (substitute*



reply via email to

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