Project

General

Profile

Actions

Bug #5667

closed

Broken build with uClibc

Added by b kuhls almost 6 years ago. Updated almost 6 years ago.

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

Also available in: Atom PDF