Page MenuHomeFreeBSD

csh: Remove gethost dependency on tc.const.h
ClosedPublic

Authored by emaste on Fri, Feb 7, 1:36 AM.
Tags
None
Referenced Files
F110051571: D48880.diff
Thu, Feb 13, 12:06 AM
F110049616: D48880.diff
Wed, Feb 12, 11:38 PM
Unknown Object (File)
Tue, Feb 11, 3:46 PM
Unknown Object (File)
Sun, Feb 9, 12:31 AM
Subscribers
None

Details

Summary
gethost is a build tool built in stage 2.3, but it had a dependency on
tc.const.h, which requires target headers installed in stage 4.1.  The
build falls back to the host's headers if the target headers don't yet
exist, which may result in a build failure.

As gethost.c doesn't actually require the definitions in tc.const.h add
a hack to skip the include of tc.const.h.

PR: 283273
Fixes: e754e5f36195 ("Upgrade to 6.10")

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

emaste requested review of this revision.Fri, Feb 7, 1:36 AM
emaste created this revision.

Add a comment explaining the csh build hack

This revision is now accepted and ready to land.Sun, Feb 9, 12:28 AM
This revision was automatically updated to reflect the committed changes.