gnu: cheese: Fix build with gcc-14.

* gnu/packages/gnome.scm (cheese)[arguments]: Add stage
"relax-gcc-14-strictness".

Change-Id: Idaf34cfe9f91f055a1ab570c003bc15394f7021f
This commit is contained in:
Janneke Nieuwenhuizen 2025-01-05 15:21:23 +01:00
parent 5523bb9ef9
commit 829c3d608b
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -11828,6 +11828,10 @@ (define-public 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")