aboutsummaryrefslogtreecommitdiffstats
path: root/community/clsync/pthread_setname_np.patch
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-04-03 01:00:58 +0200
committerJakub Jirutka <jakub@jirutka.cz>2017-04-03 01:00:58 +0200
commit64a2d6243471cee6a4151768f8ef4ca556ba2402 (patch)
treed097604a14347806e08ff6529cb4687f139b175b /community/clsync/pthread_setname_np.patch
parent8f9e0dc8f2e3b2ed519e3c41335f50d32240a751 (diff)
downloadaports-64a2d6243471cee6a4151768f8ef4ca556ba2402.tar.bz2
aports-64a2d6243471cee6a4151768f8ef4ca556ba2402.tar.xz
community/clsync: move from testing
Diffstat (limited to 'community/clsync/pthread_setname_np.patch')
-rw-r--r--community/clsync/pthread_setname_np.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/community/clsync/pthread_setname_np.patch b/community/clsync/pthread_setname_np.patch
new file mode 100644
index 0000000000..aab4dd4ef8
--- /dev/null
+++ b/community/clsync/pthread_setname_np.patch
@@ -0,0 +1,13 @@
+pthread_setname_np is a glibc extension not defined in POSIX
+and is not supported by musl libc.
+--- a/privileged.c
++++ b/privileged.c
+@@ -920,7 +920,7 @@
+ # endif
+ } else {
+ register_blockthread();
+- pthread_setname_np(pthread_self(), "clsync-helper");
++ //pthread_setname_np(pthread_self(), "clsync-helper");
+ }
+ cap_drop(ctx_p, ctx_p->caps);
+