opnsense-src/bin/csh
Ed Maste ed8b456f82 csh: Remove gethost dependency on tc.const.h
gethost is a build tool built in stage 2.3, but it had a dependency on
tc.const.h, which requires target headers (that are not installed until
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 if the
host's headers don't match the target.

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

PR:		283273
Reviewed by:	imp
Sponsored by:	The FreeBSD Foundation
Fixes: e754e5f361 ("Upgrade to 6.10")
Differential Revision: https://reviews.freebsd.org/D48880
2025-02-08 19:30:55 -05:00
..
config.h Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
config_p.h Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:29 -06:00
csh.cshrc Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
csh.login Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
csh.logout Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
dot.cshrc Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
dot.login Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
iconv_stub.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
iconv_stub.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
Makefile csh: Remove gethost dependency on tc.const.h 2025-02-08 19:30:55 -05:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00