gnu: texlive-xdvi-bin: Fix build with gcc-14.

* gnu/packages/tex.scm (texlive-xdvi-bin): Add CFLAGS to #:configure-flags to
relax gcc-14's strictness.

Change-Id: Ia4f50c46911c4c4f97b8d9ba554db6f194a2c96e
This commit is contained in:
Janneke Nieuwenhuizen 2024-12-10 20:45:38 +01:00
parent 81ad306875
commit 5592968e19
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -29,6 +29,7 @@
;;; Copyright © 2023 John Kehayias <john.kehayias@protonmail.com>
;;; Copyright © 2023 Dominik Delgado Steuter <d@delgado.nrw>
;;; Copyright © 2023 Timothy Sample <samplet@ngyro.com>
;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@ -90827,7 +90828,10 @@ (define-public texlive-xdvi-bin
(arguments
(substitute-keyword-arguments (package-arguments texlive-bin)
((#:configure-flags flags)
#~(cons "--enable-xdvik" (delete "--enable-web2c" #$flags)))
#~(cons*
"CFLAGS=-g -O2 -Wno-error=incompatible-pointer-types"
"--enable-xdvik"
(delete "--enable-web2c" #$flags)))
((#:phases phases)
#~(modify-phases #$phases
(replace 'check