Files
buildroot/package
Thomas Petazzoni ae2cae70b8 linuxptp: add patch to fix no-thread/linuxthreads uClibc builds
linuxptp missing.h header implements a replacement clock_nanosleep()
function, which was used when the thread implementation was not NPTL,
because uClibc failed to provide clock_nanosleep() in such
configurations.

However, uClibc-ng has fixed this problem upstream, and has backported
this change in Buildroot in patch
package/uclibc/0002-librt-declare-clock_nanosleep-independent-of-thread-.patch
(the code is upstream and will be part of uClibc-ng 1.0.31). Due to
this, there is now a conflicting definition of clock_nanosleep()
between the C library and the linuxptp missing.h code, which manifests
itself by the following build failure:

missing.h:117:19: error: static declaration of 'clock_nanosleep' follows non-static declaration
 static inline int clock_nanosleep(clockid_t clock_id, int flags,
                   ^~~~~~~~~~~~~~~
In file included from clockadj.h:24:0,
                 from clockadj.c:24:

This commit fixes that by adding a patch that removes the replacement
clock_nanosleep() implementation from the linuxptp code base.

Fixes:

  http://autobuild.buildroot.net/results/bf400095a853f5beb28c77a50fcffefe52c3d769/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-08-05 15:29:56 +02:00
..
2018-07-31 21:50:03 +02:00
2018-07-31 21:45:26 +02:00
2018-07-19 09:04:57 +02:00
2018-07-25 22:57:45 +02:00
2018-07-10 23:04:56 +02:00
2018-07-19 17:03:32 +02:00
2018-07-16 16:52:22 +02:00
2018-07-25 22:56:04 +02:00
2018-07-25 18:26:28 +02:00
2018-07-21 22:54:27 +02:00
2018-08-05 12:58:46 +02:00
2018-07-09 23:46:39 +02:00
2018-08-05 14:38:15 +02:00
2018-07-25 22:58:19 +02:00
2018-07-10 10:19:24 +02:00
2018-07-25 22:52:54 +02:00
2018-07-07 23:31:48 +02:00
2018-07-14 22:12:09 +02:00
2018-07-27 23:46:06 +02:00
2018-07-05 09:16:16 +02:00
2018-07-10 22:55:27 +02:00
2018-07-25 22:59:39 +02:00
2018-07-25 23:01:01 +02:00
2018-07-25 23:00:22 +02:00
2018-07-19 16:59:42 +02:00
2018-07-16 13:30:37 +02:00
2018-08-05 12:04:58 +02:00
2018-07-18 11:44:03 +02:00
2018-07-18 11:44:01 +02:00
2018-07-10 18:41:21 +02:00
2018-07-09 23:45:50 +02:00
2018-08-05 12:04:58 +02:00
2018-07-09 23:51:32 +02:00
2018-08-05 12:56:15 +02:00
2018-07-13 23:57:19 +02:00
2018-07-28 16:07:10 +02:00
2018-08-05 12:04:58 +02:00
2018-07-10 18:41:40 +02:00
2018-07-16 16:29:09 +02:00
2018-07-20 09:35:08 +02:00
2018-07-25 22:58:47 +02:00
2018-07-10 22:54:12 +02:00
2018-07-13 09:23:54 +02:00
2018-07-25 23:13:30 +02:00
2018-07-10 18:44:34 +02:00
2018-07-19 16:59:42 +02:00