Replaced a patch with a sed command in the FLAC instructions

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@8356 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Randy McMurchy 2010-03-25 16:00:13 +00:00
parent 41eec069eb
commit 072e488448
3 changed files with 15 additions and 4 deletions

View File

@ -3,7 +3,7 @@ $LastChangedBy$
$Date$
-->
<!ENTITY day "24"> <!-- Always 2 digits -->
<!ENTITY day "25"> <!-- Always 2 digits -->
<!ENTITY month "03"> <!-- Always 2 digits -->
<!ENTITY year "2010">
<!ENTITY copyrightdate "2001-&year;">

View File

@ -41,6 +41,16 @@
-->
<listitem>
<para>March 25th, 2010</para>
<itemizedlist>
<listitem>
<para>[randy] - Replaced a patch with a sed command in the FLAC
instructions.</para>
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>March 24th, 2010</para>
<itemizedlist>

View File

@ -57,13 +57,13 @@
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
<!-- <bridgehead renderas="sect3">Additional Downloads</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>Required patch: <ulink
url="&patch-root;/flac-&flac-version;-gcc43-1.patch"/></para>
</listitem>
</itemizedlist>
</itemizedlist> -->
<bridgehead renderas="sect3">FLAC Dependencies</bridgehead>
@ -86,7 +86,8 @@
<para>Install <application>FLAC</application> by running the
following commands:</para>
<screen><userinput>patch -Np1 -i ../flac-&flac-version;-gcc43-1.patch &amp;&amp;
<screen><userinput>sed -i 's/#include &lt;stdio.h&gt;/&amp;\n#include &lt;string.h&gt;/' \
examples/cpp/encode/file/main.cpp &amp;&amp;
./configure --prefix=/usr --disable-thorough-tests &amp;&amp;
make</userinput></screen>