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
F102119274: D33741.diff
Thu, Nov 7, 8:47 PM
Unknown Object (File)
Tue, Nov 5, 6:35 AM
Unknown Object (File)
Fri, Nov 1, 10:07 PM
Unknown Object (File)
Oct 4 2024, 11:43 PM
Unknown Object (File)
Oct 1 2024, 2:06 PM
Unknown Object (File)
Sep 30 2024, 1:17 AM
Unknown Object (File)
Sep 17 2024, 10:43 AM
Unknown Object (File)
Sep 8 2024, 6:44 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