1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

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
This commit is contained in:
Janneke Nieuwenhuizen
2024-12-05 08:14:37 +01:00
committed by Andreas Enge
parent 5de4787be9
commit 3fd95c21c3

View File

@@ -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