forked from NixOS/nixpkgs
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
makeinfo seems right to fail when input encoding is not declared and is not UTF-8. texinfo was updated in NixOS#95910.
- Loading branch information
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
Fix build with texinfo 6.7. Otherwise | ||
|
||
makeinfo -I topdocs --no-split --no-headers --output AUTHORS topdocs/AUTHORS.texi | ||
|
||
fails with | ||
|
||
utf8 "\xC1" does not map to Unicode at /nix/store/...-texinfo-6.7/share/texinfo/Texinfo/ParserNonXS.pm line 1796, <FH> line 38. | ||
|
||
--- a/topdocs/AUTHORS.texi | ||
+++ b/topdocs/AUTHORS.texi | ||
@@ -1,2 +1,3 @@ | ||
\input texinfo | ||
+@documentencoding ISO-8859-1 | ||
@setfilename AUTHORS.info | ||
--- a/topdocs/README.texi | ||
+++ b/topdocs/README.texi | ||
@@ -1,2 +1,3 @@ | ||
\input texinfo | ||
+@documentencoding ISO-8859-1 | ||
@setfilename README.info |