diff options
| author | Janneke Nieuwenhuizen <janneke@gnu.org> | 2025-01-04 09:51:31 +0100 |
|---|---|---|
| committer | Zheng Junjie <z572@z572.online> | 2025-06-22 16:32:55 +0800 |
| commit | bde3623f5395074a97fe01b9d56aaca8f2efee70 (patch) | |
| tree | aea08d5a3a66cb0644311b119cf1e80f0280ba07 | |
| parent | d322b7053b59e6cd74454101838034ce2cdc2bf6 (diff) | |
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
| -rw-r--r-- | gnu/packages/gnome.scm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 73b6051da36..95efabf05b7 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -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* |
