summaryrefslogtreecommitdiff
path: root/package/MesaLib/patches/patch-include_GL_internal_sarea_h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-07-05 15:34:35 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-07-05 15:34:35 +0200
commit3b76e79f14e279a6526809e630e45e4f760d77de (patch)
treebb479b57c7ad1362f05a0532a7133c0c5232dfeb /package/MesaLib/patches/patch-include_GL_internal_sarea_h
parent9bfe4f2061f377306619fa479bc0e7adafb22125 (diff)
parent1879491b2b6e799b20ac06d1b510726eb200944f (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/MesaLib/patches/patch-include_GL_internal_sarea_h')
-rw-r--r--package/MesaLib/patches/patch-include_GL_internal_sarea_h12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/MesaLib/patches/patch-include_GL_internal_sarea_h b/package/MesaLib/patches/patch-include_GL_internal_sarea_h
new file mode 100644
index 000000000..7de643397
--- /dev/null
+++ b/package/MesaLib/patches/patch-include_GL_internal_sarea_h
@@ -0,0 +1,12 @@
+ fix for loongson
+--- Mesa-7.8.1.orig/include/GL/internal/sarea.h 2010-02-05 01:10:39.000000000 +0100
++++ Mesa-7.8.1/include/GL/internal/sarea.h 2010-06-12 19:13:41.417809541 +0200
+@@ -42,6 +42,8 @@
+ /* SAREA area needs to be at least a page */
+ #if defined(__alpha__)
+ #define SAREA_MAX 0x2000
++#elif defined(__mips__)
++#define SAREA_MAX 0x4000
+ #elif defined(__ia64__)
+ #define SAREA_MAX 0x10000 /* 64kB */
+ #else