diff options
author | Dave Airlie <airlied@fedoraproject.org> | 2007-11-06 23:15:32 +0000 |
---|---|---|
committer | Dave Airlie <airlied@fedoraproject.org> | 2007-11-06 23:15:32 +0000 |
commit | e29c552ed83849ce3139798bb3bc7e04daeea5d8 (patch) | |
tree | 4d948e70bfeb42d6f629ea6fe089f7af907051f1 | |
parent | 965800e9e9fd4510b9859670625ca4310ea074df (diff) | |
download | mesa-e29c552ed83849ce3139798bb3bc7e04daeea5d8.tar.gz mesa-e29c552ed83849ce3139798bb3bc7e04daeea5d8.tar.xz mesa-e29c552ed83849ce3139798bb3bc7e04daeea5d8.zip |
- fix DRI driver directory
-rw-r--r-- | mesa-7.1-dri-driver-dir.patch | 12 | ||||
-rw-r--r-- | mesa.spec | 8 |
2 files changed, 18 insertions, 2 deletions
diff --git a/mesa-7.1-dri-driver-dir.patch b/mesa-7.1-dri-driver-dir.patch new file mode 100644 index 0000000..3be7f46 --- /dev/null +++ b/mesa-7.1-dri-driver-dir.patch @@ -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 Name: mesa Version: 7.1 -Release: 0.1%{?dist} +Release: 0.2%{?dist} License: MIT Group: System Environment/Libraries URL: http://www.mesa3d.org @@ -44,11 +44,11 @@ Source2: %{manpages}.tar.bz2 Patch1: mesa-7.1-kill-glw.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 Patch5: mesa-6.5.2-xserver-1.1-source-compat.patch Patch18: mesa-7.0-selinux-awareness.patch Patch25: mesa-7.0-symlinks-before-depend.patch - BuildRequires: pkgconfig %if %{with_dri} BuildRequires: libdrm-devel >= 2.4.0-0 @@ -171,6 +171,7 @@ chmod a-x progs/demos/glslnoise.c %patch1 -p1 -b .kill-glw %patch2 -p1 -b .osmesa-version +%patch3 -p1 -b .dri-driver-dir %patch4 -p0 -b .dont-libglut-me-harder-ok-thx-bye %patch5 -p1 -b .xserver-1.1-compat %patch18 -p1 -b .selinux-awareness @@ -405,6 +406,9 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/mesa-demos-data %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 - Fix EVR, 7.1pre > 7.1, that would have been bad. - Fix %%setup to match. |