diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2017-01-07 19:23:00 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2017-01-07 19:23:00 +0000 |
commit | 762deaa84770083e4961228f69acee8cc8b54293 (patch) | |
tree | 3d3f8ef963c028cfdea61b598a85fa80f43546ee /math/proj.4/files/patch-src_pj__mutex.c | |
parent | Upgrade to 0.9.7. (diff) |
Upgrade libproj4 to proj.4 4.9.3.
Notes
Notes:
svn path=/head/; revision=430826
Diffstat (limited to 'math/proj.4/files/patch-src_pj__mutex.c')
-rw-r--r-- | math/proj.4/files/patch-src_pj__mutex.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/math/proj.4/files/patch-src_pj__mutex.c b/math/proj.4/files/patch-src_pj__mutex.c new file mode 100644 index 000000000000..55346aef46f7 --- /dev/null +++ b/math/proj.4/files/patch-src_pj__mutex.c @@ -0,0 +1,11 @@ +--- src/pj_mutex.c.orig 2016-08-29 18:47:58 UTC ++++ src/pj_mutex.c +@@ -124,7 +124,7 @@ void pj_acquire_lock() + pthread_mutex_lock( &pj_precreated_lock); + + pthread_mutexattr_init(&mutex_attr); +-#ifdef HAVE_PTHREAD_MUTEX_RECURSIVE ++#if defined(HAVE_PTHREAD_MUTEX_RECURSIVE) || defined(__FreeBSD__) + pthread_mutexattr_settype(&mutex_attr, PTHREAD_MUTEX_RECURSIVE); + #else + pthread_mutexattr_settype(&mutex_attr, PTHREAD_MUTEX_RECURSIVE_NP); |