Changeset 6ece6ec for chapter08/mpc.xml


Ignore:
Timestamp:
12/15/2022 11:30:12 PM (19 months ago)
Author:
Thomas Trepl <thomas@…>
Branches:
multilib
Children:
410c6f8
Parents:
5c258ba (diff), baf93f5 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Automatic merge of trunk into multilib

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/mpc.xml

    r5c258ba r6ece6ec  
    4242  <sect2 role="installation">
    4343    <title>Installation of MPC</title>
     44
     45    <para>First, make a fix identified upstream:</para>
     46
     47<screen><userinput remap="pre">sed -i '273{ h; d; }; 274,286 { H; d; }; 287 G' src/mpc.h</userinput></screen>
     48
     49    <note>
     50       <para>This sed is a little complex and needs some explanation.  It holds
     51       the line 273 in a buffer, adds lines 274-286 to it. It then writes the
     52       buffer out after line 287 is read. The result is that the line 287 is
     53       moved upwards from an incorrect location to its correct location in an
     54       #ifdef block.</para>
     55    </note>
    4456
    4557    <para>Prepare MPC for compilation:</para>
Note: See TracChangeset for help on using the changeset viewer.