The previous approach appended TERMUX_PREFIX to the empty default sysroot, which would
render those paths useless if the --sysroot command-line flag was ever set. With this
approach, clang reuses much more of the existing sysroot logic and makes it more
likely that a passed-in sysroot will work.
Also, remove the rpath for alternate architectures, as it wasn't working.
The original comment indicates that using `bzero()` directly may result in dead store elimination, so they explicitly avoided calling `bzero()` as you do now. `explicit_bzero` is used in cryptographic software to clear keys from process memory after use, even if that memory is not read any more afterwards.
Maybe it would be safer like this? (I copied the approach from https://android.googlesource.com/platform/external/openssh/+/refs/tags/android-6.0.1_r70/openbsd-compat/explicit_bzero.c, so that should work on Android.)
Caveat, I was hand-editing the diff and did not find time to set up the toolchain to build this; but the general approach should work?
* graphviz: update to 2.42.3
Add -landroid-glob where needed only and remove -D_typ_ssize_t=1 from CPPFLAGS, doesn't seem to be needed anymore.
* graphviz: update patches, fix so that out-of-src build works
* openssl: add patch reverting behaviour change introduced in 1.1.1e
Upstream issue: https://github.com/openssl/openssl/issues/11378
Quite a lot of programs needs to be fixed before they work with 1.1.1e.
Plan seem to be to release 1.1.1f shortly with this patch, and save the changes
for the next major release instead.
* openssl: update patch header