guix-commits
[Top][All Lists]
Advanced

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

201/246: gnu: gtksourceview-3.24.11: Fix build with gcc-14.


From: guix-commits
Subject: 201/246: gnu: gtksourceview-3.24.11: Fix build with gcc-14.
Date: Fri, 10 Jan 2025 10:47:50 -0500 (EST)

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

commit 46c135ae3d3840e0312cd04de2981bd54a23314a
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Sat Jan 4 16:40:40 2025 +0100

    gnu: gtksourceview-3.24.11: Fix build with gcc-14.
    
    * gnu/packages/gtk.scm (gtksourceview-3)[arguments]: Add #:configure-flags 
to
    relax-gcc-14-strictness.
    
    Change-Id: I160f107334cc9a5817227dd5513231933184a032
---
 gnu/packages/gtk.scm | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 59591815b9..01c55dbca5 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -714,10 +714,15 @@ highlighting and other features typical of a source code 
editor.")
                (base32
                 "1zbpj283b5ycz767hqz5kdq02wzsga65pp4fykvhg8xj6x50f6v9"))))
     (build-system gnu-build-system)
-    (arguments (substitute-keyword-arguments (package-arguments gtksourceview)
-                 ((#:phases phases)
-                  `(modify-phases ,phases
-                     (delete 'disable-gtk-update-icon-cache)))))))
+    (arguments
+     (append
+      (list
+       #:configure-flags
+       #~(list "CFLAGS=-g -O2 -Wno-error=incompatible-pointer-types"))
+      (substitute-keyword-arguments (package-arguments gtksourceview)
+        ((#:phases phases)
+         `(modify-phases ,phases
+            (delete 'disable-gtk-update-icon-cache))))))))
 
 (define-public gdk-pixbuf
   (package



reply via email to

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