summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJanneke Nieuwenhuizen <janneke@gnu.org>2024-12-10 20:45:38 +0100
committerAndreas Enge <andreas@enge.fr>2025-07-18 20:17:13 +0200
commit1900a22eb36bdb9d9203e894fabb5b9f0fef99bc (patch)
tree773bcd04f8871b2681cdf597a8588274da10163c
parent60735c93ce88b80318b7e93b65b7690fefaea2c5 (diff)
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
-rw-r--r--gnu/packages/tex.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 179adbf18a..f2456778fb 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -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.
;;;
@@ -97535,7 +97536,10 @@ that it will build with web2c out of the box.")
(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