From 5183e86e93dd3245be7e1e5718b68a5ce1b1e1ec Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 12 Jun 2014 09:45:24 +0200 Subject: update to latest upstream version, rename to lowercase --- package/mesalib/patches/patch-include_c11_threads_posix_h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 package/mesalib/patches/patch-include_c11_threads_posix_h (limited to 'package/mesalib/patches/patch-include_c11_threads_posix_h') 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); -- cgit v1.2.3