Ignore:
Timestamp:
May 4, 2017, 5:31:42 PM (7 years ago)
Author:
William Harrington <kb0iic@…>
Branches:
sysvinit
Children:
bb7930e
Parents:
2f0e26b
git-author:
William Harrington <kb0iic@…> (05/04/17 17:31:39)
git-committer:
William Harrington <kb0iic@…> (05/04/17 17:31:42)
Message:

Update BC to 1.07 and update install commands.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/common/bc.xml

    r2f0e26b r733dd64  
    2525    <title>Installation of Bc</title>
    2626
    27     <para os="p1">Fix memory leaks:</para>
     27    <para os="s1">Change an internal script to use <command>sed</command>
     28        instead of <command>ed</command>:</para>
    2829
    29 <screen os="p2"><userinput>patch -Np1 -i ../bc-1.06.95-memory_leak-1.patch</userinput></screen>
     30<screen os="s2"><userinput>cat &gt; bc/fix-libmath_h &lt;&lt; "EOF"
     31#! /bin/bash
     32sed -e '1   s/^/{"/' \
     33    -e     's/$/",/' \
     34    -e '2,$ s/^/"/'  \
     35    -e   '$ d'       \
     36    -i libmath.h
     37
     38sed -e '$ s/$/0}/' \
     39-i libmath.h
     40EOF</userinput></screen>
    3041
    3142    <para os="a">Prepare Bc for compilation:</para>
Note: See TracChangeset for help on using the changeset viewer.