Prechádzať zdrojové kódy

Add a patch to improve POSIX and bash compatibility of 'echo' - required by the testsuite in udev-069 and later

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@6865 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Matthew Burgess 20 rokov pred
rodič
commit
8dc8eb42fe
5 zmenil súbory, kde vykonal 20 pridanie a 2 odobranie
  1. 5 0
      chapter01/changelog.xml
  2. 7 0
      chapter03/patches.xml
  3. 5 0
      chapter06/coreutils.xml
  4. 2 2
      general.ent
  5. 1 0
      patches.ent

+ 5 - 0
chapter01/changelog.xml

@@ -89,6 +89,7 @@ First a summary, then a detailed log.</para>
 <itemizedlist>
 <listitem><para>&bzip2-bzgrep-patch;</para></listitem>
 <listitem><para>&bzip2-docs-patch;</para></listitem>
+<listitem><para>&coreutils-echo-patch;</para></listitem>
 <listitem><para>&gcc-specs-patch;</para></listitem>
 <listitem><para>&glibc-gcc4_elf-patch;</para></listitem>
 <listitem><para>&glibc-gcc4_iconvdata-patch;</para></listitem>
@@ -122,6 +123,10 @@ First a summary, then a detailed log.</para>
 </itemizedlist>
 </listitem>
 
+<listitem><para>September 17, 2005 [matt]: Added patch for coreutils to improve
+echo's POSIX and bash compatibility and to recognise &quot;\xhh&quot; syntax as
+required by the test suite in udev-069 and later.</para></listitem>
+
 <listitem><para>September 15, 2005 [archaic]: Added patch for util-linux to
 prevent a umount vulnerability.</para></listitem>
 

+ 7 - 0
chapter03/patches.xml

@@ -45,6 +45,13 @@ needed to build an LFS system:</para>
 </listitem>
 </varlistentry>
 
+<varlistentry>
+<term>Coreutils Echo POSIX and Bash Compatibility Patch - 9 KB:</term>
+<listitem>
+<para><ulink url="&patches-root;&coreutils-echo-patch;"/></para>
+</listitem>
+</varlistentry>
+
 <varlistentry>
 <term>Coreutils Suppress Uptime, Kill, Su Patch - 15 KB:</term>
 <listitem>

+ 5 - 0
chapter06/coreutils.xml

@@ -31,6 +31,11 @@ Gettext, Glibc, Grep, Make, Perl, and Sed</seg></seglistitem>
 <sect2 role="installation">
 <title>Installation of Coreutils</title>
 
+<para>Apply a patch to improve the POSIX and <command>bash</command>
+compatibility of <command>echo</command>:</para>
+
+<screen><userinput>patch -Np1 -i ../&coreutils-echo-patch;</userinput></screen>
+
 <para>A known issue with the <command>uname</command> program from
 this package is that the <parameter>-p</parameter> switch always
 returns <computeroutput>unknown</computeroutput>. The following patch

+ 2 - 2
general.ent

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
-<!ENTITY version "SVN-20050915">
-<!ENTITY releasedate "September 15, 2005">
+<!ENTITY version "SVN-20050917">
+<!ENTITY releasedate "September 17, 2005">
 <!ENTITY milestone "6.2">
 <!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->
 

+ 1 - 0
patches.ent

@@ -7,6 +7,7 @@
 <!ENTITY bzip2-docs-patch "bzip2-&bzip2-version;-install_docs-1.patch">
 <!ENTITY bzip2-bzgrep-patch "bzip2-&bzip2-version;-bzgrep_security-1.patch">
 
+<!ENTITY coreutils-echo-patch "coreutils-&coreutils-version;-echo_posix-1.patch">
 <!ENTITY coreutils-suppress-patch "coreutils-&coreutils-version;-suppress_uptime_kill_su-1.patch">
 <!ENTITY coreutils-uname-patch "coreutils-&coreutils-version;-uname-2.patch">