Changeset a36bd4f for chapter06


Ignore:
Timestamp:
04/03/2017 06:45:56 PM (7 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
18f4298
Parents:
98e3fe2
Message:

Update to bc-1.07

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11217 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/bc.xml

    r98e3fe2 ra36bd4f  
    4242    <title>Installation of Bc</title>
    4343
    44     <para>First, fix some minor memory leaks in the code:</para>
     44    <para>First, change an internal script to use <command>sed</command> instead
     45    of <command>ed</command>:</para>
    4546
    46 <screen><userinput remap="pre">patch -Np1 -i ../&bc-memory-leak-patch;</userinput></screen>
     47<screen><userinput remap="pre">cat &gt; bc/fix-libmath_h &lt;&lt; "EOF"
     48#! /bin/bash
     49sed -e '1   s/^/{"/' \
     50    -e     's/$/",/' \
     51    -e '2,$ s/^/"/'  \
     52    -e   '$ d'       \
     53    -i libmath.h
     54
     55sed -e '$ s/$/0}/' \
     56    -i libmath.h
     57EOF</userinput></screen>
    4758
    4859    <para>Create a temporary symbolic link so the package can find
Note: See TracChangeset for help on using the changeset viewer.