z572 pushed a commit to branch core-packages-team
in repository guix.
commit d1c2e0bdf936536bb232a3afc066caebb872b178
Author: Janneke Nieuwenhuizen <[email protected]>
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