mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-05 22:04:48 +00:00
Fix potential corruption of the testsuite tools
by forcing expect to always use /bin/stty and not /usr/local/bin/stty. Fixes #1892. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7870 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
a9d68217a1
commit
9d4c6dc1ed
@ -39,6 +39,11 @@
|
||||
<listitem>
|
||||
<para>2006-11-25</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[jhuntwork] - Fix potential corruption of the testsuite tools
|
||||
by forcing expect to always use /bin/stty and not /usr/local/bin/stty.
|
||||
Fixes <ulink url="&lfs-ticket-root;1892">#1892</ulink></para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[matthew] - Upgrade to Man-pages-1.42. Fixes
|
||||
<ulink url="&lfs-ticket-root;1922">#1922</ulink></para>
|
||||
|
@ -40,6 +40,14 @@
|
||||
|
||||
<screen><userinput>patch -Np1 -i ../&expect-spawn-patch;</userinput></screen>
|
||||
|
||||
<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.
|
||||
This will ensure that our testsuite tools remain sane for the final builds of our
|
||||
toolchain.</para>
|
||||
|
||||
<screen><userinput>cp configure{,.bak}
|
||||
sed 's:/usr/local/bin:/bin:' configure.bak > configure</userinput></screen>
|
||||
|
||||
<para>Now prepare Expect for compilation:</para>
|
||||
|
||||
<screen><userinput>./configure --prefix=/tools --with-tcl=/tools/lib \
|
||||
|
Loading…
Reference in New Issue
Block a user