A new user interface for you! Read more...

File 0901-Fix-linux-dri-so-it-can-be-used-for-all-archs-thank.patch of Package mesa

From c8ccbfd7f11d261bb5158f432fd645be27f52d29 Mon Sep 17 00:00:00 2001
From: Colin Guthrie <cguthrie@mandriva.org>
Date: Tue, 23 Dec 2008 20:59:20 +0000
Subject: [PATCH 901/903] Fix linux-dri so it can be used for all archs (thanks Christiaan Welvaart)

---
 configs/linux-dri |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/configs/linux-dri b/configs/linux-dri
index 0998ba8..624b84c 100644
--- a/configs/linux-dri
+++ b/configs/linux-dri
@@ -65,3 +65,21 @@ GALLIUM_STATE_TRACKERS_DIRS = egl
 
 DRI_DIRS = i810 i915 i965 mach64 mga r128 r200 r300 radeon \
 	savage sis tdfx unichrome ffb swrast
+
+
+ifeq ($(shell arch),ppc)
+ASM_FLAGS = -DUSE_PPC_ASM -DUSE_VMX_ASM
+ASM_SOURCES = $(PPC_SOURCES)
+endif
+
+ifeq ($(shell arch),x86_64)
+ASM_FLAGS = -DUSE_X86_64_ASM
+ASM_SOURCES = $(X86-64_SOURCES)
+ASM_API = $(X86-64_API)
+endif
+
+ifeq ($(patsubst i%86,x86,$(shell arch)),x86)
+ASM_FLAGS = -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM
+ASM_SOURCES = $(X86_SOURCES)
+ASM_API = $(X86_API)
+endif
-- 
1.6.2.4