From e29c552ed83849ce3139798bb3bc7e04daeea5d8 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Tue, 6 Nov 2007 23:15:32 +0000 Subject: [PATCH] - fix DRI driver directory --- mesa-7.1-dri-driver-dir.patch | 12 ++++++++++++ mesa.spec | 8 ++++++-- 2 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 mesa-7.1-dri-driver-dir.patch 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) diff --git a/mesa.spec b/mesa.spec index 8072648..d1f15f9 100644 --- a/mesa.spec +++ b/mesa.spec @@ -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 7.1-0.2 +- fix DRI driver directory + * Thu Nov 01 2007 Adam Jackson 7.1-0.1 - Fix EVR, 7.1pre > 7.1, that would have been bad. - Fix %%setup to match.