add patch enabling drivers on sparc that are remotely useful
This commit is contained in:
parent
c0c14a5047
commit
cc77b8c21f
15
mesa-7.1-sparc.patch
Normal file
15
mesa-7.1-sparc.patch
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
--- 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*)
|
@ -15,7 +15,7 @@
|
|||||||
Summary: Mesa graphics libraries
|
Summary: Mesa graphics libraries
|
||||||
Name: mesa
|
Name: mesa
|
||||||
Version: 7.1
|
Version: 7.1
|
||||||
Release: 0.23%{?dist}
|
Release: 0.24%{?dist}
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: http://www.mesa3d.org
|
URL: http://www.mesa3d.org
|
||||||
@ -37,6 +37,8 @@ Patch4: mesa-7.1-visual-crash.patch
|
|||||||
Patch5: mesa-7.1-fbconfig-fix.patch
|
Patch5: mesa-7.1-fbconfig-fix.patch
|
||||||
Patch6: mesa-7.1-dri2.patch
|
Patch6: mesa-7.1-dri2.patch
|
||||||
Patch7: mesa-7.1-link-shared.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
|
BuildRequires: pkgconfig autoconf automake
|
||||||
%if %{with_dri}
|
%if %{with_dri}
|
||||||
@ -166,6 +168,7 @@ This package provides some demo applications for testing Mesa.
|
|||||||
%patch5 -p1 -b .fbconfig
|
%patch5 -p1 -b .fbconfig
|
||||||
%patch6 -p1 -b .dri2
|
%patch6 -p1 -b .dri2
|
||||||
%patch7 -p1 -b .dricore
|
%patch7 -p1 -b .dricore
|
||||||
|
%patch8 -p1
|
||||||
|
|
||||||
# WARNING: The following files are copyright "Mark J. Kilgard" under the GLUT
|
# WARNING: The following files are copyright "Mark J. Kilgard" under the GLUT
|
||||||
# license and are not open source/free software, so we remove them.
|
# license and are not open source/free software, so we remove them.
|
||||||
@ -414,6 +417,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_libdir}/mesa-demos-data
|
%{_libdir}/mesa-demos-data
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Apr 12 2008 Dennis Gilmore <dennis@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@redhat.com> 7.1-0.23
|
* Thu Apr 10 2008 Adam Jackson <ajax@redhat.com> 7.1-0.23
|
||||||
- mesa-7.1-link-shared.patch: Make a libdricore.so from libmesa.a, install
|
- 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
|
it into %%_libdir/dri, and link the DRI drivers against it. Drops ~20M
|
||||||
|
Loading…
Reference in New Issue
Block a user