[mesa] Fix build on PPC/PPC64

Peter Lemenkov peter at fedoraproject.org
Thu Jul 7 08:22:11 UTC 2011


commit f95befaea648f8e7e65f9990b88784e8e03a766b
Author: Peter Lemenkov <lemenkov at gmail.com>
Date:   Thu Jul 7 12:21:45 2011 +0400

    Fix build on PPC/PPC64
    
    Signed-off-by: Peter Lemenkov <lemenkov at gmail.com>

 llvmcore.mk                  |    6 ---
 make-demo-snapshot.sh        |   22 ---------
 mesa-7.1-link-shared.patch   |  101 ------------------------------------------
 mesa-nouveau-fix-build.patch |   96 ---------------------------------------
 mesa.spec                    |    9 +++-
 sources                      |    1 -
 6 files changed, 7 insertions(+), 228 deletions(-)
---
diff --git a/mesa.spec b/mesa.spec
index 0df5b5e..3ee1374 100644
--- a/mesa.spec
+++ b/mesa.spec
@@ -15,7 +15,7 @@
 Summary: Mesa graphics libraries
 Name: mesa
 Version: 7.11
-Release: 0.15.%{gitdate}.0%{?dist}
+Release: 0.16.%{gitdate}.0%{?dist}
 License: MIT
 Group: System Environment/Libraries
 URL: http://www.mesa3d.org
@@ -360,12 +360,14 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 %{_libdir}/dri/r128_dri.so
 %ifnarch %{sparc}
+%ifnarch ppc ppc64
 # we no much hardware....
 %{_libdir}/dri/mga_dri.so
 %{_libdir}/dri/savage_dri.so
-%{_libdir}/dri/tdfx_dri.so
 %{_libdir}/dri/unichrome_dri.so
 %endif
+%{_libdir}/dri/tdfx_dri.so
+%endif
 %endif
 
 %files libGL-devel
@@ -438,6 +440,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/pkgconfig/osmesa.pc
 
 %changelog
+* Thu Jul 07 2011 Peter Lemenkov <lemenkov at gmail.com> - 7.11-0.16.20110620.0
+- Fix building on ppc (some dri1 drivers are missing)
+
 * Wed Jul  6 2011 Ville Skyttä <ville.skytta at iki.fi> - 7.11-0.15.20110620.0
 - More include dir ownership fixes (#682357).
 
diff --git a/sources b/sources
index 1155337..1c0de14 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,2 @@
 6ae05158e678f4594343f32c2ca50515  gl-manpages-1.0.1.tar.bz2
-b8a15e6f9892d004c3407d6a0659fb5b  mesa-20110412.tar.xz
 ee6c00d4c596e4a9dee0cb9599054b81  mesa-20110620.tar.xz


More information about the scm-commits mailing list