Просмотр исходного кода

Add bc memory leak patch

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10536 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Bruce Dubbs 11 лет назад
Родитель
Сommit
70e3330708
6 измененных файлов с 32 добавлено и 3 удалено
  1. 11 1
      chapter01/changelog.xml
  2. 3 0
      chapter01/whatsnew.xml
  3. 8 0
      chapter03/patches.xml
  4. 4 0
      chapter06/bc.xml
  5. 2 2
      general.ent
  6. 4 0
      patches.ent

+ 11 - 1
chapter01/changelog.xml

@@ -35,11 +35,21 @@
       </itemizedlist>
     </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>

+ 3 - 0
chapter01/whatsnew.xml

@@ -232,6 +232,9 @@
     <listitem>
       <para>attr-&attr-version;</para>
     </listitem>
+    <listitem>
+      <para>&bc-memory-leak-patch;</para>
+    </listitem>
     <listitem>
       <para>dbus-&dbus-version;</para>
     </listitem>

+ 8 - 0
chapter03/patches.xml

@@ -26,6 +26,14 @@
       </listitem>
     </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>

+ 4 - 0
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           \

+ 2 - 2
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 &ndash; -->
 <!ENTITY milestone       "8.0">
 <!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->

+ 4 - 0
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">