Added readline upstream patch.

Added bash upstream patch.


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10538 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Bruce Dubbs 2014-04-18 21:26:17 +00:00
parent a139c2502f
commit cc2eeb124e
6 changed files with 40 additions and 5 deletions

View File

@ -38,9 +38,17 @@
<listitem> <listitem>
<para>2014-04-18</para> <para>2014-04-18</para>
<itemizedlist> <itemizedlist>
<listitem>
<para>[bdubbs] - Added readline upstream patch. Fixes
<ulink url="&lfs-ticket-root;3532">#3532</ulink>.</para>
</listitem>
<listitem>
<para>[bdubbs] - Added bash upstream patch. Fixes
<ulink url="&lfs-ticket-root;3531">#3531</ulink>.</para>
</listitem>
<listitem> <listitem>
<para>[bdubbs] - Added bc patch to address memory leaks. Fixes <para>[bdubbs] - Added bc patch to address memory leaks. Fixes
<ulink url="&lfs-ticket-root;3540">#3536</ulink>.</para> <ulink url="&lfs-ticket-root;3536">#3536</ulink>.</para>
</listitem> </listitem>
</itemizedlist> </itemizedlist>
</listitem> </listitem>

View File

@ -232,6 +232,9 @@
<listitem> <listitem>
<para>attr-&attr-version;</para> <para>attr-&attr-version;</para>
</listitem> </listitem>
<listitem>
<para>&bash-fixes-patch;</para>
</listitem>
<listitem> <listitem>
<para>&bc-memory-leak-patch;</para> <para>&bc-memory-leak-patch;</para>
</listitem> </listitem>
@ -250,6 +253,9 @@
<listitem> <listitem>
<para>libcap-&libcap-version;</para> <para>libcap-&libcap-version;</para>
</listitem> </listitem>
<listitem>
<para>&readline-fixes-patch;</para>
</listitem>
<listitem> <listitem>
<para>systemd-&systemd-version;</para> <para>systemd-&systemd-version;</para>
</listitem> </listitem>

View File

@ -17,7 +17,7 @@
needed to build an LFS system:</para> needed to build an LFS system:</para>
<variablelist role="materials"> <variablelist role="materials">
<!--
<varlistentry> <varlistentry>
<term>Bash Upstream Fixes Patch - <token>&bash-fixes-patch-size;</token>:</term> <term>Bash Upstream Fixes Patch - <token>&bash-fixes-patch-size;</token>:</term>
<listitem> <listitem>
@ -25,7 +25,7 @@
<para>MD5 sum: <literal>&bash-fixes-patch-md5;</literal></para> <para>MD5 sum: <literal>&bash-fixes-patch-md5;</literal></para>
</listitem> </listitem>
</varlistentry> </varlistentry>
-->
<varlistentry> <varlistentry>
<term>Bc Memory Leak Patch - <token>&bc-memory-leak-patch-size;</token>:</term> <term>Bc Memory Leak Patch - <token>&bc-memory-leak-patch-size;</token>:</term>
<listitem> <listitem>
@ -74,6 +74,14 @@
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry>
<term>Readline Upstream Fixes Patch - <token>&readline-fixes-patch-size;</token>:</term>
<listitem>
<para>Download: <ulink url="&patches-root;&readline-fixes-patch;"/></para>
<para>MD5 sum: <literal>&readline-fixes-patch-md5;</literal></para>
</listitem>
</varlistentry>
<varlistentry> <varlistentry>
<term>Systemd Compat Patch - <token>&systemd-compat-patch-size;</token>:</term> <term>Systemd Compat Patch - <token>&systemd-compat-patch-size;</token>:</term>
<listitem> <listitem>

View File

@ -39,12 +39,12 @@
<sect2 role="installation"> <sect2 role="installation">
<title>Installation of Bash</title> <title>Installation of Bash</title>
<!--
<para>First, apply the following patch to fix various bugs that have been <para>First, apply the following patch to fix various bugs that have been
addressed upstream:</para> addressed upstream:</para>
<screen><userinput remap="pre">patch -Np1 -i ../&bash-fixes-patch;</userinput></screen> <screen><userinput remap="pre">patch -Np1 -i ../&bash-fixes-patch;</userinput></screen>
-->
<para>Prepare Bash for compilation:</para> <para>Prepare Bash for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/usr \ <screen><userinput remap="configure">./configure --prefix=/usr \

View File

@ -41,6 +41,11 @@
<sect2 role="installation"> <sect2 role="installation">
<title>Installation of Readline</title> <title>Installation of Readline</title>
<para>First install some patches to fix various bugs that have been
addressed upstream:</para>
<screen><userinput remap="pre">patch -Np1 -i ../&readline-fixes-patch;</userinput></screen>
<para>Reinstalling Readline will cause the old libraries to be moved to <para>Reinstalling Readline will cause the old libraries to be moved to
&lt;libraryname&gt;.old. While this is normally not a problem, in some cases &lt;libraryname&gt;.old. While this is normally not a problem, in some cases
it can trigger a linking bug in <command>ldconfig</command>. This can be it can trigger a linking bug in <command>ldconfig</command>. This can be

View File

@ -2,6 +2,10 @@
<!-- Start of Common Patches --> <!-- Start of Common Patches -->
<!ENTITY bash-fixes-patch "bash-&bash-version;-upstream_fixes-1.patch">
<!ENTITY bash-fixes-patch-md5 "749b4b520708300b64f8166ba2b1b4a0">
<!ENTITY bash-fixes-patch-size "14 KB">
<!ENTITY bc-memory-leak-patch "bc-&bc-version;-memory_leak-1.patch"> <!ENTITY bc-memory-leak-patch "bc-&bc-version;-memory_leak-1.patch">
<!ENTITY bc-memory-leak-patch-md5 "877e81fba316fe487ec23501059d54b8"> <!ENTITY bc-memory-leak-patch-md5 "877e81fba316fe487ec23501059d54b8">
<!ENTITY bc-memory-leak-patch-size "1.4 KB"> <!ENTITY bc-memory-leak-patch-size "1.4 KB">
@ -26,6 +30,10 @@
<!ENTITY perl-libc-patch-md5 "daf5c64fd7311e924966842680535f8f"> <!ENTITY perl-libc-patch-md5 "daf5c64fd7311e924966842680535f8f">
<!ENTITY perl-libc-patch-size "1.6 KB"> <!ENTITY perl-libc-patch-size "1.6 KB">
<!ENTITY readline-fixes-patch "readline-6.3-upstream_fixes-1.patch">
<!ENTITY readline-fixes-patch-md5 "bbee7fad08474328b807e6828c26a961">
<!ENTITY readline-fixes-patch-size "3.1 KB">
<!ENTITY sysvinit-consolidated-patch "sysvinit-&sysvinit-version;-consolidated-1.patch"> <!ENTITY sysvinit-consolidated-patch "sysvinit-&sysvinit-version;-consolidated-1.patch">
<!ENTITY sysvinit-consolidated-patch-md5 "0b7b5ea568a878fdcc4057b2bf36e5cb"> <!ENTITY sysvinit-consolidated-patch-md5 "0b7b5ea568a878fdcc4057b2bf36e5cb">
<!ENTITY sysvinit-consolidated-patch-size "3.9 KB"> <!ENTITY sysvinit-consolidated-patch-size "3.9 KB">