Actions
Bug #5667
closedBroken build with uClibc
Bug #5667:
Broken build with uClibc
Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2019-06-24
Due date:
% Done:
0%
Estimated time:
Found in version:
HEAD
Affected Versions:
Description
Current git head
https://github.com/tvheadend/tvheadend/commit/771dfd6bea7bd4035ed991eccbe735dc00d3f800
does not build with uClibC:
src/tvh_thread.h:163:25: error: unknown type name â__do_not_use_pthread_mutex_tâ #define pthread_mutex_t __do_not_use_pthread_mutex_t
Removing
#ifndef TVH_THREAD_C #define pthread_cond __do_not_use_pthread_cond #define pthread_cond_t __do_not_use_pthread_cond_t #define pthread_mutex __do_not_use_pthread_mutex #define pthread_mutex_t __do_not_use_pthread_mutex_t #endif
from src/tvh_thread.h fixes the problem but I am unsure whether such a patch would be accepted.
Actions