mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-07 05:30:38 +02:00
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:
committed by
Zheng Junjie
parent
1a4823ef2a
commit
405f796495
@@ -11906,6 +11906,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")
|
||||
|
||||
Reference in New Issue
Block a user