Author: ken
Date: Wed Sep 10 21:52:35 2014
New Revision: 14247

Log:
Fix xf86-video-ati-7.4.0 for glamor from xorg-server: personally, I find the 
patch easier to understand.

Modified:
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/x/installing/x7driver-ati.xml

Modified: trunk/BOOK/introduction/welcome/changelog.xml
==============================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml       Wed Sep 10 18:59:51 
2014        (r14246)
+++ trunk/BOOK/introduction/welcome/changelog.xml       Wed Sep 10 21:52:35 
2014        (r14247)
@@ -47,6 +47,9 @@
       <para>September 10th, 2014</para>
       <itemizedlist>
         <listitem>
+          <para>[ken] - fix xf86-video-ati-7.4.0 for xorg-server&apos;s 
glamor.</para>
+        </listitem>
+        <listitem>
           <para>[rthomsen] - Update to phonon-4.8.0 and 
phonon-backend-vlc-0.8.0. 
           Re-add phonon-backend-gstreamer to the book. Fixes
           <ulink url="&blfs-ticket-root;5480">#5480</ulink>, 

Modified: trunk/BOOK/x/installing/x7driver-ati.xml
==============================================================================
--- trunk/BOOK/x/installing/x7driver-ati.xml    Wed Sep 10 18:59:51 2014        
(r14246)
+++ trunk/BOOK/x/installing/x7driver-ati.xml    Wed Sep 10 21:52:35 2014        
(r14247)
@@ -162,7 +162,9 @@
         commands:
       </para>
 
-<screen><userinput>./configure $XORG_CONFIG &amp;&amp;
+<screen><userinput>sed -i -e 
'/ac_cv_header_glamor/s/\$ac_includes_default/#include \\"xorg-server.h\\"/' \
+       -e '/GLAMOR_NO_DRI3/s/\(#include \)/\1\\"xorg-server.h\\"\n\1/' 
configure &amp;&amp;
+./configure $XORG_CONFIG &amp;&amp;
 make</userinput></screen>
 
       <para>
@@ -176,6 +178,18 @@
 <screen role="root"><userinput>make install</userinput></screen>
     </sect3>
 
+    <sect3 role="commands">
+      <title>Command Explanations</title>
+
+      <para>
+        <parameter>sed -i -e 
'/ac_cv_header_glamor/s/\$ac_includes_default/#include \\"xorg-server.h\\"/'
+        -e '/GLAMOR_NO_DRI3/s/\(#include \)/\1\\"xorg-server.h\\"\n\1/' 
configure</parameter>:
+        this fixes compilation with glamor (the default) from xorg-server with 
recent
+        <application>glibc</application>.
+      </para>
+
+    </sect3>
+
     <sect3>
       <title>Glamor Acceleration</title>
 
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to