mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-18 19:29:21 +01:00
Remove obsolete sed no longer required in mpc-1.3.1
This commit is contained in:
parent
730208ab9f
commit
aea43840d8
@ -39,6 +39,15 @@
|
|||||||
<listitem revision="sysv"> or <listitem revision="systemd"> as
|
<listitem revision="sysv"> or <listitem revision="systemd"> as
|
||||||
appropriate for the entry or if needed the entire day's listitem.
|
appropriate for the entry or if needed the entire day's listitem.
|
||||||
-->
|
-->
|
||||||
|
<listitem>
|
||||||
|
<para>2023-01-01</para><!-- Happy New Year! -->
|
||||||
|
<itemizedlist>
|
||||||
|
<listitem>
|
||||||
|
<para>[thomas] - Remove an obsolete sed from mpc.</para>
|
||||||
|
</listitem>
|
||||||
|
</itemizedlist>
|
||||||
|
</listitem>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>2022-12-31</para>
|
<para>2022-12-31</para>
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
|
@ -42,18 +42,6 @@
|
|||||||
<sect2 role="installation">
|
<sect2 role="installation">
|
||||||
<title>Installation of MPC</title>
|
<title>Installation of MPC</title>
|
||||||
|
|
||||||
<para>First, make a fix identified upstream:</para>
|
|
||||||
|
|
||||||
<screen><userinput remap="pre">sed -i '273{ h; d; }; 274,286 { H; d; }; 287 G' src/mpc.h</userinput></screen>
|
|
||||||
|
|
||||||
<note>
|
|
||||||
<para>This sed is a little complex and needs some explanation. It holds
|
|
||||||
the line 273 in a buffer, adds lines 274-286 to it. It then writes the
|
|
||||||
buffer out after line 287 is read. The result is that the line 287 is
|
|
||||||
moved upwards from an incorrect location to its correct location in an
|
|
||||||
#ifdef block.</para>
|
|
||||||
</note>
|
|
||||||
|
|
||||||
<para>Prepare MPC for compilation:</para>
|
<para>Prepare MPC for compilation:</para>
|
||||||
|
|
||||||
<screen><userinput remap="configure">./configure --prefix=/usr \
|
<screen><userinput remap="configure">./configure --prefix=/usr \
|
||||||
|
Loading…
Reference in New Issue
Block a user