diff options
Diffstat (limited to 'package/libdrm/patches/patch-include_drm_drm_sarea_h')
-rw-r--r-- | package/libdrm/patches/patch-include_drm_drm_sarea_h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/package/libdrm/patches/patch-include_drm_drm_sarea_h b/package/libdrm/patches/patch-include_drm_drm_sarea_h new file mode 100644 index 000000000..d7d557dcf --- /dev/null +++ b/package/libdrm/patches/patch-include_drm_drm_sarea_h @@ -0,0 +1,12 @@ + Fix for lemote. +--- libdrm-2.4.20.orig/include/drm/drm_sarea.h 2010-03-06 00:21:13.000000000 +0100 ++++ libdrm-2.4.20/include/drm/drm_sarea.h 2010-06-12 20:44:24.812809619 +0200 +@@ -37,6 +37,8 @@ + /* SAREA area needs to be at least a page */ + #if defined(__alpha__) + #define SAREA_MAX 0x2000U ++#elif defined(__mips__) ++#define SAREA_MAX 0x4000U + #elif defined(__ia64__) + #define SAREA_MAX 0x10000U /* 64kB */ + #else |