summaryrefslogtreecommitdiff
path: root/audio/linuxsampler/files/patch-src_common_Mutex.cpp
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2019-05-07 05:51:28 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2019-05-07 05:51:28 +0000
commit7a16d47d11832824f2711358624518fd034252f4 (patch)
tree1fe1fca7390ac9708a63410f273f12a7c1b7cef8 /audio/linuxsampler/files/patch-src_common_Mutex.cpp
parentsysutils/rubygem-bundler: Update to 2.0.1 (diff)
audio/linuxsampler: Update 2.0.0 -> 2.1.0
* Change to option helpers * Update http -> https Reported by: protonlucifer <protonlucifer@protonmail.com>
Notes
Notes: svn path=/head/; revision=500950
Diffstat (limited to 'audio/linuxsampler/files/patch-src_common_Mutex.cpp')
-rw-r--r--audio/linuxsampler/files/patch-src_common_Mutex.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/audio/linuxsampler/files/patch-src_common_Mutex.cpp b/audio/linuxsampler/files/patch-src_common_Mutex.cpp
index 9069f596356d..f0a362f49951 100644
--- a/audio/linuxsampler/files/patch-src_common_Mutex.cpp
+++ b/audio/linuxsampler/files/patch-src_common_Mutex.cpp
@@ -1,10 +1,10 @@
---- src/common/Mutex.cpp.orig 2007-11-14 23:42:15 UTC
+--- src/common/Mutex.cpp.orig 2019-05-07 05:18:11 UTC
+++ src/common/Mutex.cpp
-@@ -36,7 +36,6 @@
+@@ -40,7 +40,6 @@
#if !defined(WIN32)
- #if !defined(_XOPEN_SOURCE) || _XOPEN_SOURCE < 500
- # undef _XOPEN_SOURCE
--# define _XOPEN_SOURCE 500 /* to define PTHREAD_MUTEX_ERRORCHECK */
- # warning "Seems you don't have a UNIX98 compatible system."
- # warning "Please run LinuxSampler's selftest to make sure this won't be a problem!"
- # warning "(compile tests with 'make tests', run them with 'src/testcases/linuxsamplertest')"
+ # if !defined(_XOPEN_SOURCE) || _XOPEN_SOURCE < 500
+ # undef _XOPEN_SOURCE
+-# define _XOPEN_SOURCE 500 /* to define PTHREAD_MUTEX_RECURSIVE */
+ # if (!defined(POSIX_C_SOURCE) || POSIX_C_SOURCE < 199801L) && !__DARWIN_UNIX03
+ # warning "Seems you don't have a UNIX98 compatible system."
+ # warning "Please run LinuxSampler's selftest to make sure this won't be a problem!"