[blfs-book] r10331 - trunk/BOOK/multimedia/libdriv

andy at linuxfromscratch.org andy at linuxfromscratch.org
Fri Jun 15 10:19:50 PDT 2012


Author: andy
Date: 2012-06-15 11:19:46 -0600 (Fri, 15 Jun 2012)
New Revision: 10331

Modified:
   trunk/BOOK/multimedia/libdriv/gst-ffmpeg.xml
Log:
patch gst-ffmpeg to compile with gcc-4.7

Modified: trunk/BOOK/multimedia/libdriv/gst-ffmpeg.xml
===================================================================
--- trunk/BOOK/multimedia/libdriv/gst-ffmpeg.xml	2012-06-15 12:00:59 UTC (rev 10330)
+++ trunk/BOOK/multimedia/libdriv/gst-ffmpeg.xml	2012-06-15 17:19:46 UTC (rev 10331)
@@ -56,6 +56,16 @@
       </listitem>
     </itemizedlist>
 
+    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
+    <itemizedlist spacing="compact">
+      <listitem>
+        <para>
+          Required patch:
+          <ulink url="&patch-root;/gst-ffmpeg-&gst-ffmpeg-version;-gcc-4.7-1.patch"/>
+        </para>
+      </listitem>
+    </itemizedlist>
+
     <bridgehead renderas="sect3">gst-ffmpeg Dependencies</bridgehead>
 
     <bridgehead renderas="sect4">Required</bridgehead>
@@ -77,7 +87,8 @@
     <para>Install <application>gst-ffmpeg</application> by running the following
     commands:</para>
 
-<screen><userinput>./configure --prefix=/usr &&
+<screen><userinput>patch -p1 < ../gst-ffmpeg-&gst-ffmpeg-version;-gcc-4.7-1.patch &&
+./configure --prefix=/usr &&
 make</userinput></screen>
 
     <para>To test the results, issue: <command>make check</command>.</para>
@@ -85,7 +96,16 @@
     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
 
 <screen role="root"><userinput>make install</userinput></screen>
+  </sect2>
 
+  <sect2 role="commands">
+    <title>Command Explanations</title>
+
+    <para>
+      <command>patch -p1 <
+      ../gst-ffmpeg-&gst-ffmpeg-version;-gcc-4.7-1.patch</command>: This patch
+      fixes compiling Gst FFmpeg with Gcc 4.7.
+    </para>
   </sect2>
 
   <sect2 role="content">




More information about the blfs-book mailing list