From 405f796495f6975772f36561cdb17420a7b6f98e Mon Sep 17 00:00:00 2001 From: Janneke Nieuwenhuizen Date: Sun, 5 Jan 2025 15:21:23 +0100 Subject: [PATCH] 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 3b477aae24ad30f5453229279a3312e2c8d6cfac..bdde4ec785fc52bc56e43570327e3b9b891ba475 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -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")