aboutsummaryrefslogtreecommitdiffstats
path: root/testing/clsync/pthread_setname_np.patch
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-10-30 02:21:43 +0200
committerJakub Jirutka <jakub@jirutka.cz>2016-10-30 02:25:05 +0200
commitaffb59fb8c621f7f09902a824c6acfcfecaa7745 (patch)
treef8153e81d6c3f8ce4a39c7580a69a0c53b132c63 /testing/clsync/pthread_setname_np.patch
parentf625013a34ed3b3129cacf92a271ebaf15dd1d0b (diff)
downloadaports-affb59fb8c621f7f09902a824c6acfcfecaa7745.tar.bz2
aports-affb59fb8c621f7f09902a824c6acfcfecaa7745.tar.xz
testing/clsync: new aport
https://github.com/xaionaro/clsync File live sync daemon based on inotify
Diffstat (limited to 'testing/clsync/pthread_setname_np.patch')
-rw-r--r--testing/clsync/pthread_setname_np.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/clsync/pthread_setname_np.patch b/testing/clsync/pthread_setname_np.patch
new file mode 100644
index 0000000000..aab4dd4ef8
--- /dev/null
+++ b/testing/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);
+