guix_mirror_bot pushed a commit to branch core-packages-team in repository guix.
commit 32a8568d209b8f71f8ad308425c4201ba3a4143c Author: Janneke Nieuwenhuizen <jann...@gnu.org> 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 8f33b20e37..ea230dc4c9 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -11945,6 +11945,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")