Changeset 4e8ba51 for BOOK/final-system


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

Update BC to 1.07 and update install commands.

Location:
BOOK/final-system
Files:
2 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>
  • BOOK/final-system/multilib/bc.xml

    r8343d5e r4e8ba51  
    2424    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    2525    href="../common/bc.xml"
    26     xpointer="xpointer(//*[@os='p1'])"/>
     26    xpointer="xpointer(//*[@os='s1'])"/>
    2727
    2828    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    2929    href="../common/bc.xml"
    30     xpointer="xpointer(//*[@os='p2'])"/>
     30    xpointer="xpointer(//*[@os='s2'])"/>
    3131
    3232    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
Note: See TracChangeset for help on using the changeset viewer.