[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#74190] [PATCH v2 3/3] gnu: info-reader: Inherit from texinfo-7.
From: |
Florian Pelz |
Subject: |
[bug#74190] [PATCH v2 3/3] gnu: info-reader: Inherit from texinfo-7. |
Date: |
Mon, 18 Nov 2024 00:49:12 +0100 |
Otherwise `LC_ALL=pt_BR.utf8 info` crashes.
* gnu/packages/texinfo.scm (info-reader): Inherit from texinfo-7.
Change-Id: I9eb5873fbc115e0c45f96a16aa05dbca76b92c57
---
A Web search points at the cause of the Texinfo crash being a typo
in Texinfo’s own po file translations. If so, Texinfo 6 could be
patched alternatively.
<https://www.linuxquestions.org/questions/slackware-14/curr
ent-texinfo-fails-with-pt_br-locale-4175703232/>
gnu/packages/texinfo.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/texinfo.scm b/gnu/packages/texinfo.scm
index 81afdaf7a7..cd474bb566 100644
--- a/gnu/packages/texinfo.scm
+++ b/gnu/packages/texinfo.scm
@@ -194,7 +194,9 @@ (define-public texinfo-4
(define-public info-reader
;; The idea of this package is to have the standalone Info reader without
;; the dependency on Perl that 'makeinfo' drags.
- (package/inherit texinfo
+ ;; Texinfo version must be at least 7.0, which fixed crashes in a pt_BR
+ ;; locale; see <https://git.savannah.gnu.org/cgit/texinfo.git/plain/NEWS>.
+ (package/inherit texinfo-7
(name "info-reader")
(arguments
`(,@(substitute-keyword-arguments (package-arguments texinfo)
--
2.46.0