guix-commits
[Top][All Lists]
Advanced

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

11/75: gnu: gettext: Fix build with gcc-14.


From: guix-commits
Subject: 11/75: gnu: gettext: Fix build with gcc-14.
Date: Sun, 15 Dec 2024 18:06:27 -0500 (EST)

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

commit bb967143eb4a3d15757b60ecf0b34e80580bf06b
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Thu Dec 5 08:14:37 2024 +0100

    gnu: gettext: Fix build with gcc-14.
    
    * gnu/packages/gettext.scm (gettext-minimal) [arguments]: In phase
    "patch-tests", skip failing "xgettext-javascript-6" test.
    
    Change-Id: Ibac01c139e135c3a9c13f9077b4fbc6a7db93207
---
 gnu/packages/gettext.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/gettext.scm b/gnu/packages/gettext.scm
index 7862c296bd..1e501ee517 100644
--- a/gnu/packages/gettext.scm
+++ b/gnu/packages/gettext.scm
@@ -93,6 +93,9 @@
                    #t))
                (add-before 'check 'patch-tests
                  (lambda* (#:key inputs #:allow-other-keys)
+                   ;; This test fails
+                   (substitute* "gettext-tools/tests/xgettext-javascript-6"
+                     (("^#!.*" all) (string-append all "exit 77;\n")))
                    (let* ((bash (which "sh")))
                      ;; Some of the files we're patching are
                      ;; ISO-8859-1-encoded, so choose it as the default



reply via email to

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