Index: chapter01/changelog.xml
===================================================================
--- chapter01/changelog.xml	(revision 98e3fe275e1e023e0f4104fd5fd462e5723a016f)
+++ chapter01/changelog.xml	(revision a36bd4f2f182d877b029b2b2b5105ef390b1a45d)
@@ -44,4 +44,14 @@
 -->
     <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>
Index: chapter01/whatsnew.xml
===================================================================
--- chapter01/whatsnew.xml	(revision 98e3fe275e1e023e0f4104fd5fd462e5723a016f)
+++ chapter01/whatsnew.xml	(revision a36bd4f2f182d877b029b2b2b5105ef390b1a45d)
@@ -43,4 +43,7 @@
     </listitem>-->
     <listitem>
+      <para>Bc &bc-version;</para>
+    </listitem>
+    <listitem>
       <para>Binutils &binutils-version;</para>
     </listitem>
@@ -263,7 +266,7 @@
     <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>
Index: chapter03/patches.xml
===================================================================
--- chapter03/patches.xml	(revision 98e3fe275e1e023e0f4104fd5fd462e5723a016f)
+++ chapter03/patches.xml	(revision a36bd4f2f182d877b029b2b2b5105ef390b1a45d)
@@ -26,5 +26,5 @@
       </listitem>
     </varlistentry>
-
+<!--
     <varlistentry>
       <term>Bc Memory Leak Patch - <token>&bc-memory-leak-patch-size;</token>:</term>
@@ -34,5 +34,5 @@
       </listitem>
     </varlistentry>
-
+-->
     <varlistentry>
       <term>Bzip2 Documentation Patch - <token>&bzip2-docs-patch-size;</token>:</term>
Index: chapter06/bc.xml
===================================================================
--- chapter06/bc.xml	(revision 98e3fe275e1e023e0f4104fd5fd462e5723a016f)
+++ chapter06/bc.xml	(revision a36bd4f2f182d877b029b2b2b5105ef390b1a45d)
@@ -42,7 +42,18 @@
     <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 &gt; bc/fix-libmath_h &lt;&lt; "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
Index: general.ent
===================================================================
--- general.ent	(revision 98e3fe275e1e023e0f4104fd5fd462e5723a016f)
+++ general.ent	(revision a36bd4f2f182d877b029b2b2b5105ef390b1a45d)
@@ -1,12 +1,12 @@
-<!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 &ndash; -->
Index: packages.ent
===================================================================
--- packages.ent	(revision 98e3fe275e1e023e0f4104fd5fd462e5723a016f)
+++ packages.ent	(revision a36bd4f2f182d877b029b2b2b5105ef390b1a45d)
@@ -51,8 +51,8 @@
 <!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">
Index: patches.ent
===================================================================
--- patches.ent	(revision 98e3fe275e1e023e0f4104fd5fd462e5723a016f)
+++ patches.ent	(revision a36bd4f2f182d877b029b2b2b5105ef390b1a45d)
@@ -7,7 +7,9 @@
 <!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">
