janneke pushed a commit to branch core-packages-team in repository guix. commit e5cc3ad2b7b1116de953517c87cfb7546f7e4404 Author: Janneke Nieuwenhuizen <jann...@gnu.org> AuthorDate: Wed Jan 1 10:58:49 2025 +0100
gnu: tracker: Fix build with gcc-14. * gnu/packages/gnome.scm (tracker)[arguments]: Add phase "relax-gcc-14-strictness" to relax gcc-14's strictness. Change-Id: Id63a3b5ab2c92b0ab09faa1b3e4c50271e1c153b --- gnu/packages/gnome.scm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index f603990bf3..f96426b324 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -15,7 +15,7 @@ ;;; Copyright © 2016, 2017, 2018 Rene Saavedra <pac...@protonmail.com> ;;; Copyright © 2016 Jochem Raat <jch...@riseup.net> ;;; Copyright © 2016, 2017, 2019 Kei Kebreau <kkebr...@posteo.net> -;;; Copyright © 2016, 2024 Janneke Nieuwenhuizen <jann...@gnu.org> +;;; Copyright © 2016, 2024, 2025 Janneke Nieuwenhuizen <jann...@gnu.org> ;;; Copyright © 2016 Roel Janssen <r...@gnu.org> ;;; Copyright © 2016, 2018 Leo Famulari <l...@famulari.name> ;;; Copyright © 2016 Alex Griffin <a...@ajgrf.com> @@ -9877,6 +9877,13 @@ easy, safe, and automatic.") (add-before 'configure 'set-shell (lambda _ (setenv "SHELL" (which "bash")))) + (add-before 'configure 'relax-gcc-14-strictness + (lambda _ + (setenv "CFLAGS" + (string-append + "-g -O2" + " -Wno-error=implicit-function-declaration" + " -Wno-error=incompatible-pointer-types")))) (add-before 'configure 'fix-paths (lambda* (#:key inputs #:allow-other-keys) (let* ((manpage "/etc/asciidoc/docbook-xsl/manpage.xsl")