janneke pushed a commit to branch core-packages-team-old in repository guix.
commit 09851f0dd2be948eb158b3ed1bb7467cd3241a93 Author: Janneke Nieuwenhuizen <[email protected]> AuthorDate: Thu Jan 2 20:33:11 2025 +0100 gnu: zsh: Fix build with gcc-14. * gnu/packages/shells.scm (zsh)[arguments]: Add CFLAGS to #:configure-flags to relax gcc-14's strictness. Change-Id: Id0eed01369a49b3da0af858c178a529f8b6526e4 --- gnu/packages/shells.scm | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm index 6f830d54aa..df0d959af5 100644 --- a/gnu/packages/shells.scm +++ b/gnu/packages/shells.scm @@ -12,7 +12,7 @@ ;;; Copyright © 2019 Meiyo Peng <[email protected]> ;;; Copyright © 2019 Timothy Sample <[email protected]> ;;; Copyright © 2019 Mathieu Othacehe <[email protected]> -;;; Copyright © 2019, 2020, 2023 Janneke Nieuwenhuizen <[email protected]> +;;; Copyright © 2019, 2020, 2023, 2025 Janneke Nieuwenhuizen <[email protected]> ;;; Copyright © 2020 Brice Waegeneire <[email protected]> ;;; Copyright © 2020 Ryan Prior <[email protected]> ;;; Copyright © 2020, 2022, 2024 Efraim Flashner <[email protected]> @@ -487,7 +487,12 @@ history mechanism, job control and a C-like syntax.") (patches (search-patches "zsh-egrep-failing-test.patch")))) (build-system gnu-build-system) (arguments `(#:configure-flags - `("--with-tcsetpgrp" + `(,(string-append "CFLAGS=-g -O2" + " -Wno-error=implicit-function-declaration" + " -Wno-error=implicit-int" + " -Wno-error=incompatible-pointer-types" + " -Wno-error=int-conversion") + "--with-tcsetpgrp" "--enable-pcre" "--enable-maildir-support" ;; share/zsh/site-functions isn't populated
