]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
zfs: Cherry-pick upstream commit ef977fce6636 to fix macOS/arm64 bootstrap
authorJessica Clarke <jrtc27@FreeBSD.org>
Sat, 27 Mar 2021 02:23:59 +0000 (02:23 +0000)
committerJessica Clarke <jrtc27@FreeBSD.org>
Sat, 3 Apr 2021 11:29:31 +0000 (12:29 +0100)
commit7f8acc8d3d3a5094cd4055f39ad05fc753a90707
tree61e5a5c71a9bd54b39d37e9faa69428fc71faed0
parent2e107638eac2a721bc024314ae79d4688edfc130
zfs: Cherry-pick upstream commit ef977fce6636 to fix macOS/arm64 bootstrap

Upstream commit message:

  Support running FreeBSD buildworld on Arm-based macOS hosts

  Arm-based Macs are like FreeBSD and provide a full 64-bit stat from the
  start, so have no stat64 variants. Thus, define stat64 and fstat64 as
  aliases for the normal versions.

Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Signed-off-by: Jessica Clarke <jrtc27@jrtc27.com>
  Closes #11771

(cherry picked from commit 3a314eb5bb444ec019457e5aefaabb656fcb3d54)
sys/contrib/openzfs/lib/libspl/include/os/freebsd/sys/stat.h