HomeFreeBSD

security/john: try to fix the port's build on AArch64

Description

security/john: try to fix the port's build on AArch64

In commit 1e6670382fbb, the observed failure on PowerPC had been
mended in a way that broke AArch64 build. Robert's investigation
had shown that <altivec.h> should've been included elsewhere, and
it actually is, but guarded by `#ifdef linux' for some reason.

Alexander explained that at the time the AltiVec support was just
for two platforms: macOS (first) and Linux (added later). If the
guard of `#include <altivec.h>' was needed, then we could probably
replace the #ifdef __linux__' with #ifndef APPLE' for the
same effect on old macOS versions which do not need the #include.

PR: 266732
Submitted by: Robert Clausecker
Discussed with: Solar Designer

Details

Provenance
danfeAuthored on Oct 19 2022, 7:48 AM
Parents
R11:9effd49f06e4: misc/{,py-}tvm: Update 0.9.0 -> 0.10.0
Branches
Unknown
Tags
Unknown