Author: fernando
Date: Mon Sep 8 07:44:51 2014
New Revision: 14230
Log:
MesaLib-10.2.6: fix build with LLVM-3.5.0. Thanks ojab.
Modified:
trunk/BOOK/general.ent
trunk/BOOK/introduction/welcome/changelog.xml
trunk/BOOK/x/installing/mesalib.xml
Modified: trunk/BOOK/general.ent
==============================================================================
--- trunk/BOOK/general.ent Mon Sep 8 06:22:40 2014 (r14229)
+++ trunk/BOOK/general.ent Mon Sep 8 07:44:51 2014 (r14230)
@@ -1,12 +1,12 @@
<!-- $LastChangedBy$ $Date$ -->
-<!ENTITY day "07"> <!-- Always 2 digits -->
+<!ENTITY day "08"> <!-- Always 2 digits -->
<!ENTITY month "09"> <!-- Always 2 digits -->
<!ENTITY year "2014">
<!ENTITY copyrightdate "2001-&year;">
<!ENTITY copyholder "The BLFS Development Team">
<!ENTITY version "&year;-&month;-&day;">
-<!ENTITY releasedate "September 7th, &year;">
+<!ENTITY releasedate "September 8th, &year;">
<!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
<!ENTITY blfs-version "svn"> <!-- svn|[release #] -->
<!ENTITY lfs-version "development"> <!-- x.y|development] -->
Modified: trunk/BOOK/introduction/welcome/changelog.xml
==============================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml Mon Sep 8 06:22:40
2014 (r14229)
+++ trunk/BOOK/introduction/welcome/changelog.xml Mon Sep 8 07:44:51
2014 (r14230)
@@ -45,6 +45,17 @@
-->
<listitem>
+ <para>September 8th, 2014</para>
+ <itemizedlist>
+ <listitem>
+ <para>[fernando] - MesaLib-10.2.6: fix build with LLVM-3.5.0.
+ Thanks ojab. Partially fixes
+ <ulink url="&blfs-ticket-root;5475">#5475</ulink>.</para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+
+ <listitem>
<para>September 7th, 2014</para>
<itemizedlist>
<listitem>
Modified: trunk/BOOK/x/installing/mesalib.xml
==============================================================================
--- trunk/BOOK/x/installing/mesalib.xml Mon Sep 8 06:22:40 2014 (r14229)
+++ trunk/BOOK/x/installing/mesalib.xml Mon Sep 8 07:44:51 2014 (r14230)
@@ -157,7 +157,12 @@
commands:
</para>
-<screen><userinput>./autogen.sh CFLAGS="-O2" CXXFLAGS="-O2" \
+<screen><userinput>sed -e '/0x0303/ a#define OwningPtr std::unique_ptr\n#elif
HAVE_LLVM >= 0x0303' \
+ -e 's/^#if HAVE_LLVM >= 0x0303/#if HAVE_LLVM >= 0x0305/' \
+ -i src/gallium/auxiliary/gallivm/lp_bld_debug.cpp &&
+
+
+./autogen.sh CFLAGS="-O2" CXXFLAGS="-O2" \
--prefix=$XORG_PREFIX \
--sysconfdir=/etc \
--enable-texture-float \
@@ -214,6 +219,11 @@
<title>Command Explanations</title>
<para>
+ <command>sed -e ...lp_bld_debug.cpp</command>: Fix build problem
+ introduced with LLVM-3.5.0.
+ </para>
+
+ <para>
<parameter>CFLAGS="-O2" CXXFLAGS="-O2"</parameter>: By default,
<application>Autoconf</application> sets CFLAGS and CXXFLAGS to
"-g -O2". That results in binaries and libraries being built with
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page