summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-15 11:12:17 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-15 11:12:17 +0100
commit0975f98bebcefd325c641b202d715522f5710700 (patch)
tree9520a967522d432fdb06f5088269bc0d2473e040 /package
parentbe9bc1c473af631de6427aa3d71afb874445be0c (diff)
another musl fix
Diffstat (limited to 'package')
-rw-r--r--package/MesaLib/Makefile2
-rw-r--r--package/MesaLib/patches/patch-include_c11_threads_posix_h11
2 files changed, 12 insertions, 1 deletions
diff --git a/package/MesaLib/Makefile b/package/MesaLib/Makefile
index 9ace60438..97bbee79b 100644
--- a/package/MesaLib/Makefile
+++ b/package/MesaLib/Makefile
@@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:= MesaLib
PKG_VERSION:= 10.1.0
PKG_SUBVER:= 10.1
-PKG_RELEASE:= 2
+PKG_RELEASE:= 3
PKG_MD5SUM:= 08e796ec7122aa299d32d4f67a254315
PKG_DESCR:= MESA 3D graphics library
PKG_SECTION:= libs
diff --git a/package/MesaLib/patches/patch-include_c11_threads_posix_h b/package/MesaLib/patches/patch-include_c11_threads_posix_h
new file mode 100644
index 000000000..2e79238f7
--- /dev/null
+++ b/package/MesaLib/patches/patch-include_c11_threads_posix_h
@@ -0,0 +1,11 @@
+--- Mesa-10.1.0.orig/include/c11/threads_posix.h 2014-02-27 02:56:39.000000000 +0100
++++ Mesa-10.1.0/include/c11/threads_posix.h 2014-03-14 21:54:55.000000000 +0100
+@@ -176,7 +176,7 @@ mtx_init(mtx_t *mtx, int type)
+ 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);