Page MenuHomeFreeBSD

file: Turns out we need xlocal.h protection
ClosedPublic

Authored by imp on Jan 4 2022, 7:51 PM.
Tags
None
Referenced Files
F106831871: D33741.diff
Mon, Jan 6, 3:21 AM
Unknown Object (File)
Wed, Dec 11, 10:40 AM
Unknown Object (File)
Nov 19 2024, 7:12 PM
Unknown Object (File)
Nov 18 2024, 3:50 AM
Unknown Object (File)
Nov 18 2024, 1:35 AM
Unknown Object (File)
Nov 8 2024, 6:42 AM
Unknown Object (File)
Nov 7 2024, 11:51 PM
Unknown Object (File)
Nov 7 2024, 8:47 PM
Subscribers
None

Details

Summary

It turns out that we still need xlocal.h protection for when we're
cross building on Linux. Linux doesn't have this file, but os/x
does. Before, we'd assume we didn't have it, like old FreeBSD, when
cross compiling. After the latest update, all that code was removed so
cross compiling needs to be handled separaetly. Do so by defining
HAVE_XLOCALE_H only when we're not building on linux. This allows us
to build the mkmagic build tool needed to build file(1).

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 43702
Build 40590: arc lint + arc unit