janneke pushed a commit to branch core-packages-team-old in repository guix.
commit 77a32239e8d220fd2ebe26b794b9dfd7ca66f846 Author: Janneke Nieuwenhuizen <[email protected]> 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 cf00f150d5..4b37456018 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -15,7 +15,7 @@ ;;; Copyright © 2016, 2017, 2018 Rene Saavedra <[email protected]> ;;; Copyright © 2016 Jochem Raat <[email protected]> ;;; Copyright © 2016, 2017, 2019 Kei Kebreau <[email protected]> -;;; Copyright © 2016, 2024 Janneke Nieuwenhuizen <[email protected]> +;;; Copyright © 2016, 2024, 2025 Janneke Nieuwenhuizen <[email protected]> ;;; Copyright © 2016 Roel Janssen <[email protected]> ;;; Copyright © 2016, 2018 Leo Famulari <[email protected]> ;;; Copyright © 2016 Alex Griffin <[email protected]> @@ -9743,6 +9743,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")
