~ruther/guix-local

405f796495f6975772f36561cdb17420a7b6f98e — Janneke Nieuwenhuizen 1 year, 2 months ago 1a4823e
gnu: cheese: Fix build with gcc-14.

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

Change-Id: Idaf34cfe9f91f055a1ab570c003bc15394f7021f
1 files changed, 4 insertions(+), 0 deletions(-)

M gnu/packages/gnome.scm
M gnu/packages/gnome.scm => gnu/packages/gnome.scm +4 -0
@@ 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")