aboutsummaryrefslogtreecommitdiffstats
path: root/community/vdr/osd2web.patch
blob: 9d5815fbf388cd87b835cc76a86b7ed19e197011 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Author: Stefan Reiff <kroko87@hotmail.com>
Reason: The macro 'PTHREAD_MUTEX_ERRORCHECK_NP' isn't available in musl libc.
Upstream: No

--- a/PLUGINS/src/osd2web/lib/common.c
+++ b/PLUGINS/src/osd2web/lib/common.c
@@ -1745,7 +1745,7 @@
   locked = 0;
   pthread_mutexattr_t attr;
   pthread_mutexattr_init(&attr);
-  pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_ERRORCHECK_NP);
+  pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_ERRORCHECK);
   pthread_mutex_init(&mutex, &attr);
 }