Added a GCC-4 patch to the FFmpeg instructions

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@5044 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Randy McMurchy 2005-09-10 04:21:04 +00:00
parent da98fb30e9
commit 7ab0cf0d03
2 changed files with 16 additions and 2 deletions

View File

@ -45,7 +45,12 @@
<para>September 9th, 2005</para> <para>September 9th, 2005</para>
<itemizedlist> <itemizedlist>
<listitem> <listitem>
<para>[randy] - Added a GCC-4 patch to the MPlayer instructions.</para> <para>[randy] - Added a GCC-4 patch to the FFmpeg
instructions.</para>
</listitem>
<listitem>
<para>[randy] - Added a GCC-4 patch to the MPlayer
instructions.</para>
</listitem> </listitem>
<listitem> <listitem>
<para>[randy] - Added a GCC-4 patch to the Xvid instructions.</para> <para>[randy] - Added a GCC-4 patch to the Xvid instructions.</para>

View File

@ -61,6 +61,14 @@
</listitem> </listitem>
</itemizedlist> </itemizedlist>
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>Required patch: <ulink
url="&patch-root;/ffmpeg-&ffmpeg-version;-gcc4-1.patch"/></para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">FFmpeg Dependencies</bridgehead> <bridgehead renderas="sect3">FFmpeg Dependencies</bridgehead>
<bridgehead renderas="sect4">Optional</bridgehead> <bridgehead renderas="sect4">Optional</bridgehead>
@ -88,7 +96,8 @@
source tree for information about optimizing the build.</para> source tree for information about optimizing the build.</para>
</note> </note>
<screen><userinput>sed -i -e "s/static uint64/const uint64/" \ <screen><userinput>patch -Np1 -i ../ffmpeg-&ffmpeg-version;-gcc4-1.patch &amp;&amp;
sed -i -e "s/static uint64/const uint64/" \
libavcodec/liba52/resample_mmx.c &amp;&amp; libavcodec/liba52/resample_mmx.c &amp;&amp;
./configure --prefix=/usr --enable-shared \ ./configure --prefix=/usr --enable-shared \
--enable-pthreads --disable-ffplay &amp;&amp; --enable-pthreads --disable-ffplay &amp;&amp;