]> git.ipfire.org Git - thirdparty/squid.git/commit
Fix build on openbsd 7.0 (#929)
authorFrancesco Chemolli <kinkie@squid-cache.org>
Wed, 10 Nov 2021 19:07:44 +0000 (19:07 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Thu, 11 Nov 2021 08:00:23 +0000 (08:00 +0000)
commit2081cefa236c16b5185a4e8009c218fef4e7e3af
tree0731b9c3e4e208a01040811750d025c19e5bdb92
parent1842f9ae1fff743034c27b2b9367437a15620b93
Fix build on openbsd 7.0 (#929)

OpenBSD doesn't offer CPU_SET and CPU_ISSET. Implement their stubs as
inline functions to give the compiler proper hints about arguments (non)
use.

We have a const-correctness bug in std::unordered_map when supplying an
allocator that OpenBSD is strict about. Fix it.

Update buildtest.sh to try and use relative paths first. This prevents
autoconf complaining and failing if the directory path includes
characters from an unsafe set.
compat/cpu.h
src/base/ClpMap.h
src/cache_cf.cc
src/comm.cc
src/log/access_log.cc
test-suite/buildtest.sh