Fix CVE-2018-20615: """BUG/CRITICAL: mux-h2: re-check the frame
length when PRIORITY is used
An incorrect frame length check is performed on HEADERS frame having
the PRIORITY flag, possibly resulting in a read-past-bound which can
cause a crash depending how the frame is crafted. All 1.9 and 1.8
versions are affected. As a result, all HTTP/2 users must either
upgrade or temporarily disable HTTP/2 by commenting the "npn h2" and
"alpn h2" statements on their related "bind" lines."""
glib2 checks for __sync_bool_compare_and_swap, and requires
__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 to be defined if the function is
available... except with special cases like Linux armv5. base gcc
implements __sync_bool_compare_and_swap on many of our archs but doesn't
provide __GCC_HAVE_* macros, so glib2 is confused. Extend the
existing workaround to unbreak.
ok ajacoutot@ (maintainer)
To quote 70f1e43 from upstream:
"Remove Markdown dependency
Cheetah can use an additional module Markdown
but it's not strictly required.
It's required for tests."
They replaced it with a gitlab hosted on salsa.debian.org and they
provide alioth-archive.debian.org for the source archives, but
they didn't move everything there.
ok sthen@
Ptlib and friends use their own build system and getting rid of the
libfoo.so -> libfoo.so.X.Y symlink would be a nightmare to maintain.
So soname is mandatory.
The old autoconf build has the following additional check after
determining a valid type for gsize, which is not present in meson.build.:
dnl If int/long are the same size, we see which one produces
dnl warnings when used in the location as size_t. (This matters
dnl on AIX with xlc)
dnl
AS_IF([test $ac_cv_sizeof_size_t = $ac_cv_sizeof_int &&
test $ac_cv_sizeof_size_t = $ac_cv_sizeof_long],
It matters on OpenBSD too. Since my meson-fu is lacking, the patch
simply reorders the if statement to put the one we need earlier.
When the sysctls were updated for OpenBSD 6.3, the vm related sysctls were
incorrectly dropped. This updates to a later commit where the vm related
sysctls have been restored.
Noted by landry@ who discovered the issue via the telegraf port.
On non-clang archs, ports-clang uses the libestdc++ backend from
ports-gcc, so it needs the headers in the g++ package at runtime.
Testing CHOSEN_COMPILER == "ports-gcc" is nice semantically but since it
happens after including bsd.port.mk, it's too late to change TEST/RUN_DEPENDS.
Use a different test that may not be optimal but works in practice, so that
the dep is correctly registered.
This should fix random build failures due to dpb junking in bulk builds
on non-clang archs.
Problem pointed out by Goerge Koehler, ok sthen@