diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2014-04-18 16:26:53 +0000 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2014-04-18 16:26:53 +0000 |
commit | 70e333070850713c117980482d9bc5d6ca1852ed (patch) | |
tree | 4f8dae183dde9b22e17a472fc3d0dc3b70c2e8ad | |
parent | 276b8ff8cc2cab539ec96307c0c22b8d5dc3ed37 (diff) |
Add bc memory leak patch
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10536 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r-- | chapter01/changelog.xml | 12 | ||||
-rw-r--r-- | chapter01/whatsnew.xml | 3 | ||||
-rw-r--r-- | chapter03/patches.xml | 8 | ||||
-rw-r--r-- | chapter06/bc.xml | 4 | ||||
-rw-r--r-- | general.ent | 4 | ||||
-rw-r--r-- | patches.ent | 4 |
6 files changed, 32 insertions, 3 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index f72aefae8..6d107da82 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -36,10 +36,20 @@ </listitem> --> <listitem> + <para>2014-04-18</para> + <itemizedlist> + <listitem> + <para>[bdubbs] - Added bc patch to address memory leaks. Fixes + <ulink url="&lfs-ticket-root;3540">#3536</ulink>.</para> + </listitem> + </itemizedlist> + </listitem> + + <listitem> <para>2014-04-08</para> <itemizedlist> <listitem> - <para>[bdubbs] - Change lex rwapper script to a symbolic + <para>[bdubbs] - Change lex wrapper script to a symbolic link. Completes <ulink url="&lfs-ticket-root;3523">#3523</ulink>.</para> </listitem> diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml index 642951a9c..736132801 100644 --- a/chapter01/whatsnew.xml +++ b/chapter01/whatsnew.xml @@ -233,6 +233,9 @@ <para>attr-&attr-version;</para> </listitem> <listitem> + <para>&bc-memory-leak-patch;</para> + </listitem> + <listitem> <para>dbus-&dbus-version;</para> </listitem> <listitem> diff --git a/chapter03/patches.xml b/chapter03/patches.xml index bfc133159..0c3c3f913 100644 --- a/chapter03/patches.xml +++ b/chapter03/patches.xml @@ -27,6 +27,14 @@ </varlistentry> --> <varlistentry> + <term>Bc Memory Leak Patch - <token>&bc-memory-leak-patch-size;</token>:</term> + <listitem> + <para>Download: <ulink url="&patches-root;&bc-memory-leak-patch;"/></para> + <para>MD5 sum: <literal>&bc-memory-leak-patch-md5;</literal></para> + </listitem> + </varlistentry> + + <varlistentry> <term>Bzip2 Documentation Patch - <token>&bzip2-docs-patch-size;</token>:</term> <listitem> <para>Download: <ulink url="&patches-root;&bzip2-docs-patch;"/></para> diff --git a/chapter06/bc.xml b/chapter06/bc.xml index 0957421bd..17be4bfcf 100644 --- a/chapter06/bc.xml +++ b/chapter06/bc.xml @@ -41,6 +41,10 @@ <sect2 role="installation"> <title>Installation of Bc</title> + <para>First, fix some minor memory leaks in the code:</para> + +<screen><userinput remap="pre">patch -Np1 -i ../&bc-memory-leak-patch;</userinput></screen> + <para>Prepare Bc for compilation:</para> <screen><userinput remap="configure">./configure --prefix=/usr \ diff --git a/general.ent b/general.ent index 4d71be3ad..11372b029 100644 --- a/general.ent +++ b/general.ent @@ -1,5 +1,5 @@ -<!ENTITY version "SVN-20140408"> -<!ENTITY releasedate "April 8, 2014"> +<!ENTITY version "SVN-20140418"> +<!ENTITY releasedate "April 18, 2014"> <!ENTITY copyrightdate "1999-2014"><!-- jhalfs needs a literal dash, not – --> <!ENTITY milestone "8.0"> <!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" --> diff --git a/patches.ent b/patches.ent index ead462c47..1790f68ba 100644 --- a/patches.ent +++ b/patches.ent @@ -2,6 +2,10 @@ <!-- Start of Common Patches --> +<!ENTITY bc-memory-leak-patch "bc-&bc-version;-memory_leak-1.patch"> +<!ENTITY bc-memory-leak-patch-md5 "877e81fba316fe487ec23501059d54b8"> +<!ENTITY bc-memory-leak-patch-size "1.4 KB"> + <!ENTITY bzip2-docs-patch "bzip2-&bzip2-version;-install_docs-1.patch"> <!ENTITY bzip2-docs-patch-md5 "6a5ac7e89b791aae556de0f745916f7f"> <!ENTITY bzip2-docs-patch-size "1.6 KB"> |