Browse Source

Added a patch to the Expect instructions to fix an issue with recent Tcl versions

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8571 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Randy McMurchy 17 years ago
parent
commit
1100dfc670
5 changed files with 24 additions and 0 deletions
  1. 4 0
      chapter01/changelog.xml
  2. 4 0
      chapter01/whatsnew.xml
  3. 8 0
      chapter03/patches.xml
  4. 4 0
      chapter05/expect.xml
  5. 4 0
      patches.ent

+ 4 - 0
chapter01/changelog.xml

@@ -40,6 +40,10 @@
     <listitem>
     <listitem>
       <para>2008-10-05</para>
       <para>2008-10-05</para>
       <itemizedlist>
       <itemizedlist>
+        <listitem>
+          <para>[randy] - Added a patch to the Expect instructions to fix an
+          issue with recent Tcl versions.</para>
+        </listitem>
         <listitem>
         <listitem>
           <para>[randy] - Updated Tcl to 8.5.4.</para>
           <para>[randy] - Updated Tcl to 8.5.4.</para>
         </listitem>
         </listitem>

+ 4 - 0
chapter01/whatsnew.xml

@@ -222,6 +222,10 @@
       <para>&db-fixes-patch;</para>
       <para>&db-fixes-patch;</para>
     </listitem>
     </listitem>
 
 
+    <listitem>
+      <para>&expect-tcl-patch;</para>
+    </listitem>
+
     <listitem>
     <listitem>
       <para>GMP-&gmp-version;</para>
       <para>GMP-&gmp-version;</para>
     </listitem>
     </listitem>

+ 8 - 0
chapter03/patches.xml

@@ -90,6 +90,14 @@
       </listitem>
       </listitem>
     </varlistentry>
     </varlistentry>
 
 
+    <varlistentry>
+      <term>Expect Tcl Patch - <token>&expect-tcl-patch-size;</token>:</term>
+      <listitem>
+        <para>Download: <ulink url="&patches-root;&expect-tcl-patch;"/></para>
+        <para>MD5 sum: <literal>&expect-tcl-patch-md5;</literal></para>
+      </listitem>
+    </varlistentry>
+
     <varlistentry>
     <varlistentry>
       <term>Glibc Iconv Test Fixes Patch - <token>&glibc-iconv-test-fixes-patch-size;</token>:</term>
       <term>Glibc Iconv Test Fixes Patch - <token>&glibc-iconv-test-fixes-patch-size;</token>:</term>
       <listitem>
       <listitem>

+ 4 - 0
chapter05/expect.xml

@@ -46,6 +46,10 @@
 
 
 <screen><userinput remap="pre">patch -Np1 -i ../&expect-spawn-patch;</userinput></screen>
 <screen><userinput remap="pre">patch -Np1 -i ../&expect-spawn-patch;</userinput></screen>
 
 
+    <para>Next, fix a bug that is a result of recent Tcl changes:</para>
+
+<screen><userinput remap="pre">patch -Np1 -i ../&expect-tcl-patch;</userinput></screen>
+
     <para>Next, force Expect's configure script to use <filename>/bin/stty</filename>
     <para>Next, force Expect's configure script to use <filename>/bin/stty</filename>
     instead of a <filename>/usr/local/bin/stty</filename> it may find on the host system.
     instead of a <filename>/usr/local/bin/stty</filename> it may find on the host system.
     This will ensure that our testsuite tools remain sane for the final builds of our
     This will ensure that our testsuite tools remain sane for the final builds of our

+ 4 - 0
patches.ent

@@ -42,6 +42,10 @@
 <!ENTITY expect-spawn-patch-md5 "ef6d0d0221c571fb420afb7033b3bbba">
 <!ENTITY expect-spawn-patch-md5 "ef6d0d0221c571fb420afb7033b3bbba">
 <!ENTITY expect-spawn-patch-size "6.8 KB">
 <!ENTITY expect-spawn-patch-size "6.8 KB">
 
 
+<!ENTITY expect-tcl-patch "expect-&expect-version;-tcl_8.5.4_fix-1.patch">
+<!ENTITY expect-tcl-patch-md5 "45274d863f7939f485a1971ae173a42b">
+<!ENTITY expect-tcl-patch-size "4.1 KB">
+
 
 
 <!ENTITY glibc-iconv-test-fixes-patch "glibc-&glibc-version;-iconv_tests-1.patch">
 <!ENTITY glibc-iconv-test-fixes-patch "glibc-&glibc-version;-iconv_tests-1.patch">
 <!ENTITY glibc-iconv-test-fixes-patch-md5 "cc5e95e418e0b2f8a54b14cf90c7c3b2">
 <!ENTITY glibc-iconv-test-fixes-patch-md5 "cc5e95e418e0b2f8a54b14cf90c7c3b2">