[lfs-book] r11217 - in trunk/BOOK: . chapter01 chapter03 chapter06

bdubbs at higgs.linuxfromscratch.org bdubbs at higgs.linuxfromscratch.org
Mon Apr 3 11:45:56 PDT 2017


Author: bdubbs
Date: Mon Apr  3 11:45:56 2017
New Revision: 11217

Log:
Update to bc-1.07

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter01/whatsnew.xml
   trunk/BOOK/chapter03/patches.xml
   trunk/BOOK/chapter06/bc.xml
   trunk/BOOK/general.ent
   trunk/BOOK/packages.ent
   trunk/BOOK/patches.ent

Modified: trunk/BOOK/chapter01/changelog.xml
==============================================================================
--- trunk/BOOK/chapter01/changelog.xml	Sat Apr  1 08:50:14 2017	(r11216)
+++ trunk/BOOK/chapter01/changelog.xml	Mon Apr  3 11:45:56 2017	(r11217)
@@ -43,6 +43,16 @@
     appropriate for the entry or if needed the entire day's listitem.
 -->
     <listitem>
+      <para>2017-04-03</para>
+      <itemizedlist>
+        <listitem>
+          <para>[bdubbs] - Update to bc-1.07. Fixes
+          <ulink url="&lfs-ticket-root;4071">#4071</ulink>.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>2017-03-31</para>
       <itemizedlist>
         <listitem>

Modified: trunk/BOOK/chapter01/whatsnew.xml
==============================================================================
--- trunk/BOOK/chapter01/whatsnew.xml	Sat Apr  1 08:50:14 2017	(r11216)
+++ trunk/BOOK/chapter01/whatsnew.xml	Mon Apr  3 11:45:56 2017	(r11217)
@@ -42,6 +42,9 @@
       <para>Bash &bash-version;</para>
     </listitem>-->
     <listitem>
+      <para>Bc &bc-version;</para>
+    </listitem>
+    <listitem>
       <para>Binutils &binutils-version;</para>
     </listitem>
     <!--<listitem>
@@ -262,9 +265,9 @@
     <title>Removed:</title>
     <listitem><para></para></listitem>  <!-- satisfy build -->
 
-    <!--<listitem>
-      <para>bash-4.3.30-upstream_fixes-3.patch</para>
-    </listitem>-->
+    <listitem>
+      <para>bc-1.06.95-memory_leak-1.patch</para>
+    </listitem>
 
   </itemizedlist>
 

Modified: trunk/BOOK/chapter03/patches.xml
==============================================================================
--- trunk/BOOK/chapter03/patches.xml	Sat Apr  1 08:50:14 2017	(r11216)
+++ trunk/BOOK/chapter03/patches.xml	Mon Apr  3 11:45:56 2017	(r11217)
@@ -25,7 +25,7 @@
         <para>MD5 sum: <literal>&bash-fixes-patch-md5;</literal></para>
       </listitem>
     </varlistentry>
-
+<!--
     <varlistentry>
       <term>Bc Memory Leak Patch - <token>&bc-memory-leak-patch-size;</token>:</term>
       <listitem>
@@ -33,7 +33,7 @@
         <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>

Modified: trunk/BOOK/chapter06/bc.xml
==============================================================================
--- trunk/BOOK/chapter06/bc.xml	Sat Apr  1 08:50:14 2017	(r11216)
+++ trunk/BOOK/chapter06/bc.xml	Mon Apr  3 11:45:56 2017	(r11217)
@@ -41,9 +41,20 @@
   <sect2 role="installation">
     <title>Installation of Bc</title>
 
-    <para>First, fix some minor memory leaks in the code:</para>
+    <para>First, change an internal script to use <command>sed</command> instead 
+    of <command>ed</command>:</para>
 
-<screen><userinput remap="pre">patch -Np1 -i ../&bc-memory-leak-patch;</userinput></screen> 
+<screen><userinput remap="pre">cat > bc/fix-libmath_h << "EOF"
+#! /bin/bash
+sed -e '1   s/^/{"/' \
+    -e     's/$/",/' \
+    -e '2,$ s/^/"/'  \
+    -e   '$ d'       \
+    -i libmath.h
+
+sed -e '$ s/$/0}/' \
+    -i libmath.h
+EOF</userinput></screen> 
 
     <para>Create a temporary symbolic link so the package can find
     the readline library and confirm that its required libncurses

Modified: trunk/BOOK/general.ent
==============================================================================
--- trunk/BOOK/general.ent	Sat Apr  1 08:50:14 2017	(r11216)
+++ trunk/BOOK/general.ent	Mon Apr  3 11:45:56 2017	(r11217)
@@ -1,13 +1,13 @@
-<!ENTITY version         "SVN-20170331">
+<!ENTITY version         "SVN-20170403">
 <!ENTITY short-version   "svn">  <!-- Used below in &blfs-book; 
                                       Change to x.y for release but not -rc releases -->
 <!ENTITY generic-version "development"> <!-- Use "development"  or "x.y[-pre{x}]" -->
 
-<!ENTITY versiond        "20170331-systemd">
+<!ENTITY versiond        "20170403-systemd">
 <!ENTITY short-versiond  "systemd">
 <!ENTITY generic-versiond "systemd"> 
 
-<!ENTITY releasedate     "March 31, 2017">
+<!ENTITY releasedate     "April 3, 2017">
 
 <!ENTITY copyrightdate   "1999-2017"><!-- jhalfs needs a literal dash, not – -->
 <!ENTITY milestone       "8.1">

Modified: trunk/BOOK/packages.ent
==============================================================================
--- trunk/BOOK/packages.ent	Sat Apr  1 08:50:14 2017	(r11216)
+++ trunk/BOOK/packages.ent	Mon Apr  3 11:45:56 2017	(r11217)
@@ -50,10 +50,10 @@
 <!ENTITY bash-ch6-du "56 MB">
 <!ENTITY bash-ch6-sbu "1.7 SBU">
 
-<!ENTITY bc-version "1.06.95">
-<!ENTITY bc-size "288 KB">
-<!ENTITY bc-url "&alpha-gnu;bc/bc-&bc-version;.tar.bz2">
-<!ENTITY bc-md5 "5126a721b73f97d715bb72c13c889035">
+<!ENTITY bc-version "1.07">
+<!ENTITY bc-size "409 KB">
+<!ENTITY bc-url "&gnu;bc/bc-&bc-version;.tar.gz">
+<!ENTITY bc-md5 "e91638a947beadabf4d7770bdbb3d512">
 <!ENTITY bc-home "&gnu-software;bc/">
 <!ENTITY bc-ch6-du "3.6 MB">
 <!ENTITY bc-ch6-sbu "0.1 SBU">

Modified: trunk/BOOK/patches.ent
==============================================================================
--- trunk/BOOK/patches.ent	Sat Apr  1 08:50:14 2017	(r11216)
+++ trunk/BOOK/patches.ent	Mon Apr  3 11:45:56 2017	(r11217)
@@ -6,9 +6,11 @@
 <!ENTITY bash-fixes-patch-md5 "e3d5bf23a4e5628680893d46e6ff286e">
 <!ENTITY bash-fixes-patch-size "17 KB">
 
+<!--
 <!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">


More information about the lfs-book mailing list