aboutsummaryrefslogtreecommitdiffstats
path: root/main/mesa/musl-fixes.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-04-21 07:31:13 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-04-21 07:33:36 +0000
commit271f4bc087af535a4a471a1e23a8edba2db90b3f (patch)
tree6298bed58a3d12a9ee58ba4375d19b290eec15e2 /main/mesa/musl-fixes.patch
parent471c5b10dd5e917a068b172f0d05839c3603b9d7 (diff)
downloadaports-271f4bc087af535a4a471a1e23a8edba2db90b3f.tar.bz2
aports-271f4bc087af535a4a471a1e23a8edba2db90b3f.tar.xz
main/mesa: upgrade to 10.1.1
Diffstat (limited to 'main/mesa/musl-fixes.patch')
-rw-r--r--main/mesa/musl-fixes.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/main/mesa/musl-fixes.patch b/main/mesa/musl-fixes.patch
new file mode 100644
index 0000000000..3c4893e584
--- /dev/null
+++ b/main/mesa/musl-fixes.patch
@@ -0,0 +1,22 @@
+--- ./include/c11/threads_posix.h.orig
++++ ./include/c11/threads_posix.h
+@@ -178,7 +178,7 @@
+ return thrd_error;
+ pthread_mutexattr_init(&attr);
+ if ((type & mtx_recursive) != 0) {
+-#if defined(__linux__) || defined(__linux)
++#if defined(__GLIBC__)
+ pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE_NP);
+ #else
+ pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
+--- ./src/gallium/winsys/svga/drm/vmw_screen.h.orig
++++ ./src/gallium/winsys/svga/drm/vmw_screen.h
+@@ -34,7 +34,7 @@
+ #ifndef VMW_SCREEN_H_
+ #define VMW_SCREEN_H_
+
+-
++#include <sys/stat.h>
+ #include "pipe/p_compiler.h"
+ #include "pipe/p_state.h"
+