atlas-probe: Fix compilation with gcc11
authorEneas U de Queiroz <cotequeiroz@gmail.com>
Thu, 7 Oct 2021 19:50:04 +0000 (16:50 -0300)
committerRosen Penev <rosenp@gmail.com>
Thu, 14 Oct 2021 05:21:28 +0000 (22:21 -0700)
commit281df4bcf5bb36f44f7163d045df74c6144b7daf
tree1df4057721ebe34a444d927620a5141263569951
parentf263ed4449513015d584c357f002090c18117571
atlas-probe: Fix compilation with gcc11

This uses some definitions from <sys/cdefs.h> in gcc 8.4.0, not present
in musl or gcc11.

Also use clock_gettime() instead of syscall(__NR_clock_gettime,...),
which is not currently defined.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
net/atlas-probe/patches/002-Avoid-problems-with-64-bit-time_t.patch [new file with mode: 0644]
net/atlas-probe/patches/003-Fix-compilation-with-gcc11.patch [new file with mode: 0644]
net/atlas-probe/patches/004-Comment-out-librt-testing.patch [new file with mode: 0644]