rpms/mesa/devel mesa-7.1-sparc.patch, NONE, 1.1 mesa.spec, 1.180, 1.181

Dennis Gilmore (ausil) fedora-extras-commits at redhat.com
Sat Apr 12 17:50:04 UTC 2008


Author: ausil

Update of /cvs/pkgs/rpms/mesa/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1642

Modified Files:
	mesa.spec 
Added Files:
	mesa-7.1-sparc.patch 
Log Message:
add patch enabling drivers on sparc that are remotely useful


mesa-7.1-sparc.patch:

--- NEW FILE mesa-7.1-sparc.patch ---
--- mesa-20080331/configure.ac.BAD	2008-04-12 11:37:32.000000000 -0500
+++ mesa-20080331/configure.ac	2008-04-12 11:39:37.000000000 -0500
@@ -512,6 +512,12 @@
                 DRI_DIRS="mach64 r128 r200 r300 radeon tdfx"
             fi
             ;;
+        sparc*)
+            # Build only the drivers for cards that exist on sparc`
+            if test "x$DRI_DIRS" = x; then
+                DRI_DIRS="mach64 r128 r200 r300 radeon ffb"
+            fi
+            ;;
         esac
         ;;
     freebsd*)


Index: mesa.spec
===================================================================
RCS file: /cvs/pkgs/rpms/mesa/devel/mesa.spec,v
retrieving revision 1.180
retrieving revision 1.181
diff -u -r1.180 -r1.181
--- mesa.spec	10 Apr 2008 18:20:31 -0000	1.180
+++ mesa.spec	12 Apr 2008 17:49:22 -0000	1.181
@@ -15,7 +15,7 @@
 Summary: Mesa graphics libraries
 Name: mesa
 Version: 7.1
-Release: 0.23%{?dist}
+Release: 0.24%{?dist}
 License: MIT
 Group: System Environment/Libraries
 URL: http://www.mesa3d.org
@@ -37,6 +37,8 @@
 Patch5: mesa-7.1-fbconfig-fix.patch
 Patch6: mesa-7.1-dri2.patch
 Patch7: mesa-7.1-link-shared.patch
+# lets only build drivers on sparc that are remotely useful
+Patch8: mesa-7.1-sparc.patch
 
 BuildRequires: pkgconfig autoconf automake
 %if %{with_dri}
@@ -166,6 +168,7 @@
 %patch5 -p1 -b .fbconfig
 %patch6 -p1 -b .dri2
 %patch7 -p1 -b .dricore
+%patch8 -p1
 
 # WARNING: The following files are copyright "Mark J. Kilgard" under the GLUT
 # license and are not open source/free software, so we remove them.
@@ -414,6 +417,10 @@
 %{_libdir}/mesa-demos-data
 
 %changelog
+* Sat Apr 12 2008 Dennis Gilmore <dennis at ausil.us> 7.1-0.24
+- add patch so that we only build dri drivers on sparc that are remotely
+  useful.  sis driver breaks the build and the intel ones will never exist
+
 * Thu Apr 10 2008 Adam Jackson <ajax at redhat.com> 7.1-0.23
 - mesa-7.1-link-shared.patch: Make a libdricore.so from libmesa.a, install
   it into %%_libdir/dri, and link the DRI drivers against it.  Drops ~20M




More information about the fedora-extras-commits mailing list