File mesa_652_mips.patch of Package mesa

Index: Mesa-6.5.2/include/GL/internal/sarea.h
===================================================================
--- Mesa-6.5.2.orig/include/GL/internal/sarea.h
+++ Mesa-6.5.2/include/GL/internal/sarea.h
@@ -46,6 +46,8 @@
 #define SAREA_MAX 			0x2000
 #elif defined(__ia64__)
 #define SAREA_MAX			0x10000		/* 64kB */
+#elif defined(__mips__)
+#define SAREA_MAX			getpagesize()
 #else
 /* Intel 830M driver needs at least 8k SAREA */
 #define SAREA_MAX			0x2000