Remove obsolete sed no longer required in mpc-1.3.1

This commit is contained in:
Thomas Trepl 2023-01-01 09:34:12 +01:00
parent 730208ab9f
commit aea43840d8
2 changed files with 9 additions and 12 deletions

View File

@ -39,6 +39,15 @@
<listitem revision="sysv"> or <listitem revision="systemd"> as
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>
<para>2022-12-31</para>
<itemizedlist>

View File

@ -42,18 +42,6 @@
<sect2 role="installation">
<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>
<screen><userinput remap="configure">./configure --prefix=/usr \