summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJanneke Nieuwenhuizen <janneke@gnu.org>2025-01-04 16:40:40 +0100
committerAndreas Enge <andreas@enge.fr>2025-07-18 20:17:24 +0200
commite6d1cad44f59acb3c93fd02f72177d54e0f119fa (patch)
tree7e51f3136091e8e2872fdb5ae436a368f72eab55
parenta7861acf06ec89a767004d898d51b318e3fdb1e0 (diff)
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
-rw-r--r--gnu/packages/gtk.scm13
1 files changed, 9 insertions, 4 deletions
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index f4b65f1c54..45431643aa 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