atlas-probe: Fix compilation with gcc11
authorEneas U de Queiroz <cotequeiroz@gmail.com>
Thu, 7 Oct 2021 19:50:04 +0000 (16:50 -0300)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Tue, 26 Oct 2021 09:08:06 +0000 (11:08 +0200)
commit11f686bc365750962727d5d64e29749383baf107
treef7c97d5ea1eae54a6e210cd5d25546463901b4f9
parent9d02dfdbb6580ccd72d385569f2f9dce491a04da
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>
(cherry picked from commit 281df4bcf5bb36f44f7163d045df74c6144b7daf)
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]