[lfs] 02/02: texinfo: Fix a warning with Perl-5.42
| Newsgroups | gmane.linux.lfs.book |
|---|---|
| Message-ID | <[email protected]> |
This is an automated email from the git hooks/post-receive script. git pushed a commit to branch trunk in repository lfs. commit 418fc815d2cb9cf1e6e3c29117158de0fa43da40 Author: Xi Ruoyao <[email protected]> AuthorDate: Wed Jul 23 16:32:19 2025 +0800 texinfo: Fix a warning with Perl-5.42 The warning causes many test failures. And I guess it'll spam the terminal when people build a package with a lot of .texi files. --- chapter08/texinfo.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/chapter08/texinfo.xml b/chapter08/texinfo.xml index 0269bbe88..99d292930 100644 --- a/chapter08/texinfo.xml +++ b/chapter08/texinfo.xml @@ -41,6 +41,12 @@ <sect2 role="installation"> <title>Installation of Texinfo</title> + <!-- https://cgit.git.savannah.gnu.org/cgit/texinfo.git/commit/?id=f4ac5b857cf5 --> + <para>Fix a bizzare code pattern that Perl-5.42 or later would + warn:</para> + +<screen><userinput remap="pre">sed 's/! $output_file eq/$output_file ne/' -i tp/Texinfo/Convert/*.pm</userinput></screen> + <para>Prepare Texinfo for compilation:</para> <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen> -- To stop receiving notification emails like this one, please contact the administrator of this repository. -- http://lists.linuxfromscratch.org/sympa/info/lfs-book Unsubscribe: See the above information page