r5041 - in trunk: BOOK/introduction/welcome BOOK/multimedia/libdriv patches

randy at linuxfromscratch.org randy at linuxfromscratch.org
Fri Sep 9 20:02:18 PDT 2005


Author: randy
Date: 2005-09-09 21:02:14 -0600 (Fri, 09 Sep 2005)
New Revision: 5041

Added:
   trunk/patches/xvidcore-1.0.3-gcc4-1.patch
Modified:
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/multimedia/libdriv/xvid.xml
Log:
Added a GCC-4 patch to the Xvid instructions

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2005-09-10 02:30:42 UTC (rev 5040)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2005-09-10 03:02:14 UTC (rev 5041)
@@ -45,6 +45,9 @@
       <para>September 9th, 2005</para>
       <itemizedlist>
         <listitem>
+          <para>[randy] - Added a GCC-4 patch to the Xvid instructions.</para>
+        </listitem>
+        <listitem>
           <para>[randy] - Added a GCC-4 patch to the SDL instructions.</para>
         </listitem>
         <listitem>

Modified: trunk/BOOK/multimedia/libdriv/xvid.xml
===================================================================
--- trunk/BOOK/multimedia/libdriv/xvid.xml	2005-09-10 02:30:42 UTC (rev 5040)
+++ trunk/BOOK/multimedia/libdriv/xvid.xml	2005-09-10 03:02:14 UTC (rev 5041)
@@ -74,6 +74,14 @@
       </listitem>
     </itemizedlist>
 
+    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
+    <itemizedlist spacing="compact">
+      <listitem>
+        <para>Required patch: <ulink
+        url="&patch-root;/xvidcore-&xvid-version;-gcc4-1.patch"/></para>
+      </listitem>
+    </itemizedlist>
+
     <bridgehead renderas="sect3">XviD Dependencies</bridgehead>
 
     <bridgehead renderas="sect4">Optional</bridgehead>
@@ -87,7 +95,8 @@
     <para>Install <application>XviD</application> by running the following
     commands:</para>
 
-<screen><userinput>cd build/generic &&
+<screen><userinput>patch -Np1 -i ../xvidcore-&xvid-version;-gcc4-1.patch &&
+cd build/generic &&
 ./configure --prefix=/usr &&
 make</userinput></screen>
 

Added: trunk/patches/xvidcore-1.0.3-gcc4-1.patch
===================================================================
--- trunk/patches/xvidcore-1.0.3-gcc4-1.patch	2005-09-10 02:30:42 UTC (rev 5040)
+++ trunk/patches/xvidcore-1.0.3-gcc4-1.patch	2005-09-10 03:02:14 UTC (rev 5041)
@@ -0,0 +1,23 @@
+Submitted By:            Randy McMurchy <randy_at_linuxfromscratch_dot_org>
+Date:                    2005-08-28
+Initial Package Version: 1.0.3
+Upstream Status:         Not submitted
+Origin:                  Randy McMurchy
+Description:             Removes a command line option to the compiler so that
+                         the package will build using GCC-4
+
+$LastChangedBy$
+$Date$
+
+
+diff -Naur xvidcore-1.0.3-orig/build/generic/configure xvidcore-1.0.3/build/generic/configure
+--- xvidcore-1.0.3-orig/build/generic/configure	2004-12-19 11:38:55.000000000 +0000
++++ xvidcore-1.0.3/build/generic/configure	2005-08-28 21:24:36.000000000 +0000
+@@ -1326,7 +1326,6 @@
+ our_cflags_defaults="$our_cflags_defaults -O2"
+ our_cflags_defaults="$our_cflags_defaults -fstrength-reduce"
+ our_cflags_defaults="$our_cflags_defaults -finline-functions"
+-our_cflags_defaults="$our_cflags_defaults -freduce-all-givs"
+ our_cflags_defaults="$our_cflags_defaults -ffast-math"
+ our_cflags_defaults="$our_cflags_defaults -fomit-frame-pointer"
+ 


Property changes on: trunk/patches/xvidcore-1.0.3-gcc4-1.patch
___________________________________________________________________
Name: svn:keywords
   + LastChangedBy Date




More information about the blfs-book mailing list