mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
uwsgi: fix musl locking issue (patch from Alpine)
This commit is contained in:
parent
c016c6a80a
commit
15ef9912f5
2 changed files with 13 additions and 1 deletions
12
srcpkgs/uwsgi/patches/musl-locking-fix.patch
Normal file
12
srcpkgs/uwsgi/patches/musl-locking-fix.patch
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
--- core/lock.c
|
||||||
|
+++ 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)) {
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'uwsgi'
|
# Template file for 'uwsgi'
|
||||||
pkgname=uwsgi
|
pkgname=uwsgi
|
||||||
version=2.0.11.1
|
version=2.0.11.1
|
||||||
revision=3
|
revision=4
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
hostmakedepends="python-devel python-setuptools"
|
hostmakedepends="python-devel python-setuptools"
|
||||||
makedepends="sqlite-devel python-devel python-setuptools libxml2-devel"
|
makedepends="sqlite-devel python-devel python-setuptools libxml2-devel"
|
||||||
|
|
Loading…
Add table
Reference in a new issue