summaryrefslogtreecommitdiffstats
path: root/main/uwsgi
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2014-05-15 07:53:12 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2014-05-15 07:53:23 +0000
commit90b28189ad9ed879e1bb2d65ace59272e281d05c (patch)
tree6670946bf4bb6e367dc7267b43a29da2236f4346 /main/uwsgi
parent53cb47a877dd64dfb723a3a617d892910d678907 (diff)
downloadaports-90b28189ad9ed879e1bb2d65ace59272e281d05c.tar.bz2
aports-90b28189ad9ed879e1bb2d65ace59272e281d05c.tar.xz
main/uwsgi: add missing file
Diffstat (limited to 'main/uwsgi')
-rw-r--r--main/uwsgi/musl-locking-fix.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/main/uwsgi/musl-locking-fix.patch b/main/uwsgi/musl-locking-fix.patch
new file mode 100644
index 000000000..ba4a474ad
--- /dev/null
+++ b/main/uwsgi/musl-locking-fix.patch
@@ -0,0 +1,12 @@
+--- uwsgi-2.0.4.orig/core/lock.c
++++ uwsgi-2.0.4/core/lock.c
+@@ -96,7 +96,9 @@
+ #endif
+ if (pthread_mutexattr_setprotocol(&attr, PTHREAD_PRIO_INHERIT)) {
+ uwsgi_log("unable to set PTHREAD_PRIO_INHERIT\n");
++#if 0
+ exit(1);
++#endif
+ }
+ if (uwsgi_pthread_robust_mutexes_enabled) {
+ if (pthread_mutexattr_setrobust(&attr, PTHREAD_MUTEX_ROBUST)) {