diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index cc06eface..52c66cfc9 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -42,6 +42,16 @@ or as appropriate for the entry or if needed the entire day's listitem. --> + + 2017-04-03 + + + [bdubbs] - Update to bc-1.07. Fixes + #4071. + + + + 2017-03-31 diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml index dad364937..42da0a7e8 100644 --- a/chapter01/whatsnew.xml +++ b/chapter01/whatsnew.xml @@ -41,6 +41,9 @@ + + Bc &bc-version; + Binutils &binutils-version; @@ -262,9 +265,9 @@ Removed: - + + bc-1.06.95-memory_leak-1.patch + diff --git a/chapter03/patches.xml b/chapter03/patches.xml index c298bc79f..0fd3124d5 100644 --- a/chapter03/patches.xml +++ b/chapter03/patches.xml @@ -25,7 +25,7 @@ MD5 sum: &bash-fixes-patch-md5; - + Bzip2 Documentation Patch - &bzip2-docs-patch-size;: diff --git a/chapter06/bc.xml b/chapter06/bc.xml index 31794bb80..3c585547e 100644 --- a/chapter06/bc.xml +++ b/chapter06/bc.xml @@ -41,9 +41,20 @@ Installation of Bc - First, fix some minor memory leaks in the code: + First, change an internal script to use sed instead + of ed: -patch -Np1 -i ../&bc-memory-leak-patch; +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 Create a temporary symbolic link so the package can find the readline library and confirm that its required libncurses diff --git a/general.ent b/general.ent index ef6c820f3..238a061c1 100644 --- a/general.ent +++ b/general.ent @@ -1,13 +1,13 @@ - + - + - + diff --git a/packages.ent b/packages.ent index eefe7722d..0004cfe72 100644 --- a/packages.ent +++ b/packages.ent @@ -50,10 +50,10 @@ - - - - + + + + diff --git a/patches.ent b/patches.ent index 620dd5c68..7587bc567 100644 --- a/patches.ent +++ b/patches.ent @@ -6,9 +6,11 @@ +