Branch: refs/heads/build-fixes
Home:
https://github.com/kronosnet/kronosnet
Commit: c296433fe8513c4ee573901887c7cff946208785
https://github.com/kronosnet/kronosnet/commit/c296433fe8513c4ee573901887c7c…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2017-10-31 (Tue, 31 Oct 2017)
Changed paths:
M build-aux/knet_valgrind_memcheck.supp
M configure.ac
M libknet/compress_zlib.c
M libknet/crypto_openssl.c
M libknet/tests/api-test-coverage
M libknet/tests/api_knet_link_get_ping_timers.c
Log Message:
-----------
[bsd] fix builds and testsuite on BSD x86_64/i386
I don't particularly enjoy the use of host detection in configure.ac,
but there is no easier way to set the library names for dlopen without
some complex and fragile scripts.
BSD valgrind + nss complains about some non-initialized memory access.
being internal to nss we can ignore it.
on BSD i386 size of time_t is int32_t vs all other platforms where is int64_t.
BSD doesn't appear to be offerign any PRIx conversion and since it's contained
within the testsuite only (for printf purposes), cast and get away with it.
add check to avoid building libtap on BSD for now.
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>