- fix DRI driver directory
This commit is contained in:
parent
965800e9e9
commit
e29c552ed8
12
mesa-7.1-dri-driver-dir.patch
Normal file
12
mesa-7.1-dri-driver-dir.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -up Mesa-7.1pre/configs/default.da Mesa-7.1pre/configs/default
|
||||||
|
--- Mesa-7.1pre/configs/default.da 2007-11-07 08:44:17.000000000 +1000
|
||||||
|
+++ Mesa-7.1pre/configs/default 2007-11-07 08:44:28.000000000 +1000
|
||||||
|
@@ -82,7 +82,7 @@ APP_LIB_DEPS = -lm
|
||||||
|
|
||||||
|
# Installation directories (for make install)
|
||||||
|
INSTALL_DIR = /usr/local
|
||||||
|
-DRI_DRIVER_INSTALL_DIR = /usr/X11R6/lib/modules/dri
|
||||||
|
+DRI_DRIVER_INSTALL_DIR = $(DRI_DRIVER_DIR)
|
||||||
|
|
||||||
|
# Where libGL will look for DRI hardware drivers
|
||||||
|
DRI_DRIVER_SEARCH_DIR = $(DRI_DRIVER_INSTALL_DIR)
|
@ -32,7 +32,7 @@
|
|||||||
Summary: Mesa graphics libraries
|
Summary: Mesa graphics libraries
|
||||||
Name: mesa
|
Name: mesa
|
||||||
Version: 7.1
|
Version: 7.1
|
||||||
Release: 0.1%{?dist}
|
Release: 0.2%{?dist}
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: http://www.mesa3d.org
|
URL: http://www.mesa3d.org
|
||||||
@ -44,11 +44,11 @@ Source2: %{manpages}.tar.bz2
|
|||||||
|
|
||||||
Patch1: mesa-7.1-kill-glw.patch
|
Patch1: mesa-7.1-kill-glw.patch
|
||||||
Patch2: mesa-7.1pre-osmesa-version.patch
|
Patch2: mesa-7.1pre-osmesa-version.patch
|
||||||
|
Patch3: mesa-7.1-dri-driver-dir.patch
|
||||||
Patch4: mesa-6.5-dont-libglut-me-harder-ok-thx-bye.patch
|
Patch4: mesa-6.5-dont-libglut-me-harder-ok-thx-bye.patch
|
||||||
Patch5: mesa-6.5.2-xserver-1.1-source-compat.patch
|
Patch5: mesa-6.5.2-xserver-1.1-source-compat.patch
|
||||||
Patch18: mesa-7.0-selinux-awareness.patch
|
Patch18: mesa-7.0-selinux-awareness.patch
|
||||||
Patch25: mesa-7.0-symlinks-before-depend.patch
|
Patch25: mesa-7.0-symlinks-before-depend.patch
|
||||||
|
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
%if %{with_dri}
|
%if %{with_dri}
|
||||||
BuildRequires: libdrm-devel >= 2.4.0-0
|
BuildRequires: libdrm-devel >= 2.4.0-0
|
||||||
@ -171,6 +171,7 @@ chmod a-x progs/demos/glslnoise.c
|
|||||||
|
|
||||||
%patch1 -p1 -b .kill-glw
|
%patch1 -p1 -b .kill-glw
|
||||||
%patch2 -p1 -b .osmesa-version
|
%patch2 -p1 -b .osmesa-version
|
||||||
|
%patch3 -p1 -b .dri-driver-dir
|
||||||
%patch4 -p0 -b .dont-libglut-me-harder-ok-thx-bye
|
%patch4 -p0 -b .dont-libglut-me-harder-ok-thx-bye
|
||||||
%patch5 -p1 -b .xserver-1.1-compat
|
%patch5 -p1 -b .xserver-1.1-compat
|
||||||
%patch18 -p1 -b .selinux-awareness
|
%patch18 -p1 -b .selinux-awareness
|
||||||
@ -405,6 +406,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_libdir}/mesa-demos-data
|
%{_libdir}/mesa-demos-data
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Nov 07 2007 Dave Airlie <airlied@redhat.com> 7.1-0.2
|
||||||
|
- fix DRI driver directory
|
||||||
|
|
||||||
* Thu Nov 01 2007 Adam Jackson <ajax@redhat.com> 7.1-0.1
|
* Thu Nov 01 2007 Adam Jackson <ajax@redhat.com> 7.1-0.1
|
||||||
- Fix EVR, 7.1pre > 7.1, that would have been bad.
|
- Fix EVR, 7.1pre > 7.1, that would have been bad.
|
||||||
- Fix %%setup to match.
|
- Fix %%setup to match.
|
||||||
|
Loading…
Reference in New Issue
Block a user