From 749501ed6f5d1f7dd7d4b12d35cf0e06735517a8 Mon Sep 17 00:00:00 2001 From: Janneke Nieuwenhuizen Date: Sat, 4 Jan 2025 16:40:40 +0100 Subject: [PATCH] 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 @@ (define-public gtksourceview-3 (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