This is an automated email from the git hooks/post-receive script.
janneke pushed a commit to branch core-packages-team
in repository guix.
The following commit(s) were added to refs/heads/core-packages-team by this
push:
new 4038bff55a gnu: gtk+-2: Fix build with gcc-14.
4038bff55a is described below
commit 4038bff55a1600b2e30a96c61ebbc6c7b38aa295
Author: Janneke Nieuwenhuizen <[email protected]>
AuthorDate: Mon Dec 30 16:00:25 2024 +0100
gnu: gtk+-2: Fix build with gcc-14.
* gnu/packages/gtk.scm (gtk+-2)[arguments]: Add CFLAGS to #:configure-flags
to
relax gcc-14's strictness.
Change-Id: If2433b1f905a9a01d31f439e77ee302840c92755
---
gnu/packages/gtk.scm | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index ef1391e8ba..f986e4972c 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -971,7 +971,11 @@ is part of the GNOME accessibility project.")
(list
#:parallel-tests? #f
#:configure-flags
- #~(list "--with-xinput=yes"
+ #~(list #$(string-append
+ "CFLAGS=-g -O2"
+ " -Wno-error=implicit-int"
+ " -Wno-error=incompatible-pointer-types")
+ "--with-xinput=yes"
(string-append "--with-html-dir=" #$output
"/share/gtk-doc/html"))
#:phases