guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: guix-commits
Subject: 36/71: gnu: texlive-xdvi-bin: Fix build with gcc-14.
Date: Sun, 15 Dec 2024 03:42:54 -0500 (EST)

janneke pushed a commit to branch core-packages-team
in repository guix.

commit f368d102171cda775c62a12fe13e90a40241475d
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Tue Dec 10 20:45:38 2024 +0100

    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
---
 gnu/packages/tex.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 9f8cccecc8..4221becb8f 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.
 ;;;
@@ -90824,7 +90825,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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]