andreas pushed a commit to branch core-packages-team
in repository guix.
commit 67986db99e12540ac912e1f614712728e7afa6c0
Author: Janneke Nieuwenhuizen <[email protected]>
AuthorDate: Sun Jan 5 15:21:23 2025 +0100
gnu: cheese: Fix build with gcc-14.
* gnu/packages/gnome.scm (cheese)[arguments]: Add stage
"relax-gcc-14-strictness".
Change-Id: Idaf34cfe9f91f055a1ab570c003bc15394f7021f
---
gnu/packages/gnome.scm | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index f0c9b45698..52dbcb5f74 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -11987,6 +11987,10 @@ photo-booth-like software, such as Cheese.")
(substitute* "meson.build"
(("gtk_update_icon_cache: true")
"gtk_update_icon_cache: false"))))
+ (add-before 'configure 'relax-gcc-14-strictness
+ (lambda _
+ (setenv "CFLAGS"
+ "-g -O2 -Wno-error=incompatible-pointer-types")))
(add-after 'install 'wrap-cheese
(lambda* (#:key inputs outputs #:allow-other-keys)
(wrap-program (search-input-file outputs "bin/cheese")