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
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -93,6 +93,9 @@
#t)) #t))
(add-before 'check 'patch-tests (add-before 'check 'patch-tests
(lambda* (#:key inputs #:allow-other-keys) (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"))) (let* ((bash (which "sh")))
;; Some of the files we're patching are ;; Some of the files we're patching are
;; ISO-8859-1-encoded, so choose it as the default ;; ISO-8859-1-encoded, so choose it as the default