1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: gnome-font-viewer: Fix build with gcc-14.

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

Change-Id: I16757149c442190ab7c4e0821c30131a755fdcd8
This commit is contained in:
Janneke Nieuwenhuizen
2025-01-04 09:51:31 +01:00
committed by Zheng Junjie
parent d322b7053b
commit bde3623f53

View File

@@ -2445,6 +2445,11 @@ The gnome-about program helps find which version of GNOME is installed.")
(lambda _
(substitute* "meson-postinstall.sh"
(("update-desktop-database") (which "true")))))
(add-before 'configure 'relax-gcc-14-strictness
(lambda _
(setenv "CFLAGS"
(string-append "-g -O2"
" -Wno-error=incompatible-pointer-types"))))
(add-after 'install 'patch-thumbnailer
(lambda* (#:key outputs #:allow-other-keys)
(substitute*