Ignore:
Timestamp:
May 4, 2017, 5:31:39 PM (8 years ago)
Author:
William Harrington <kb0iic@…>
Branches:
master, systemd
Children:
9d334e1
Parents:
8343d5e
Message:

Update BC to 1.07 and update install commands.

File:
1 edited

Legend:

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

    r8343d5e r4e8ba51  
    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.