HomeFreeBSD

net/oha: fix build on powerpc64le

Description

net/oha: fix build on powerpc64le

In file included from /wrkdirs/usr/ports/net/oha/work/oha-1.7.0/cargo-crates/aws-lc-sys-0.25.0/aws-lc/crypto/fipsmodule/bcm.c:86:
/wrkdirs/usr/ports/net/oha/work/oha-1.7.0/cargo-crates/aws-lc-sys-0.25.0/aws-lc/crypto/fipsmodule/cpucap/cpu_ppc64le.c:72:28: error: call to undeclared function 'getauxval'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
  OPENSSL_ppc64le_hwcap2 = getauxval(AT_HWCAP2);
                           ^
1 error generated.

Details

Provenance
pkubajAuthored on Feb 23 2025, 1:30 PM
Parents
R11:c93d490f1f85: sysutils/passwordsafe: fix build on non-x86
Branches
Unknown
Tags
Unknown