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
This commit is contained in:
Janneke Nieuwenhuizen 2025-01-01 10:58:49 +01:00
parent 9055e2e09a
commit 66d301cf68
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -15,7 +15,7 @@
;;; Copyright © 2016, 2017, 2018 Rene Saavedra <pacoon@protonmail.com>
;;; Copyright © 2016 Jochem Raat <jchmrt@riseup.net>
;;; Copyright © 2016, 2017, 2019 Kei Kebreau <kkebreau@posteo.net>
;;; Copyright © 2016, 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2016, 2024, 2025 Janneke Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2016 Roel Janssen <roel@gnu.org>
;;; Copyright © 2016, 2018 Leo Famulari <leo@famulari.name>
;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
@ -9743,6 +9743,13 @@ (define-public tracker
(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")