janneke pushed a commit to branch core-packages-team
in repository guix.
commit daca3c01373ff39a485fae9cb2a1b6b9a5e4e025
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 cfcb00f963..1b1685939a 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -731,10 +731,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