- Timestamp:
- 04/03/2017 06:45:56 PM (7 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/bc.xml
r98e3fe2 ra36bd4f 42 42 <title>Installation of Bc</title> 43 43 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> 45 46 46 <screen><userinput remap="pre">patch -Np1 -i ../&bc-memory-leak-patch;</userinput></screen> 47 <screen><userinput remap="pre">cat > bc/fix-libmath_h << "EOF" 48 #! /bin/bash 49 sed -e '1 s/^/{"/' \ 50 -e 's/$/",/' \ 51 -e '2,$ s/^/"/' \ 52 -e '$ d' \ 53 -i libmath.h 54 55 sed -e '$ s/$/0}/' \ 56 -i libmath.h 57 EOF</userinput></screen> 47 58 48 59 <para>Create a temporary symbolic link so the package can find
Note:
See TracChangeset
for help on using the changeset viewer.