ich habe mal mit folgendem Patch versucht, den vdr zu kompilieren, das schlägt leider mit folgender Fehlermeldung fehl.
Quoteeit.c:25:18: error: missing binary operator before token "("
25 | #if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_31)
| ^
make: *** Deleting file '.dependencies'
Code
- /eit.c 2019-12-13 12:46:20.027353073 +0100
- @@ -18,6 +18,32 @@
- #include "libsi/section.h"
- #include "libsi/descriptor.h"
- +
- +
- +#include <shlib-compat.h>
- +
- +#if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_31)
- +
- +#include <time.h>
- +
- +/* Set the system clock to *WHEN. */
- +
- +int
- +attribute_compat_text_section
- +__stime (const time_t *when)
- + {
- + struct timespec ts;
- + ts.tv_sec = *when;
- + ts.tv_nsec = 0;
- +
- + return __clock_settime (CLOCK_REALTIME, &ts);
- + }
- +
- +compat_symbol (libc, __stime, stime, GLIBC_2_0);
- +#endif
- +
- +
- +
- #define VALID_TIME (31536000 * 2) // two years
- #define DBGEIT 0