Remove $FreeBSD$: two-line .h patternRemove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
Fix crossbuild bootstrap tools build with Clang 12Clang 12 no longer allows re-defining a weak symbol as non-weak. Thishapped here because we compile err.c with _err defined to err. To fixthis, u
Fix crossbuild bootstrap tools build with Clang 12Clang 12 no longer allows re-defining a weak symbol as non-weak. Thishapped here because we compile err.c with _err defined to err. To fixthis, use the same approach as the libc namespace.h
show more ...
Add missing FreeBSD functions to -legacy when building on macOS/LinuxIn most cases this simply builds the file from lib/libc for missingfunctions (e.g. strlcpy on Linux etc.). In cases where this
Add missing FreeBSD functions to -legacy when building on macOS/LinuxIn most cases this simply builds the file from lib/libc for missingfunctions (e.g. strlcpy on Linux etc.). In cases where this is not possibleI've added an implementation to tools/build/cross-build.The fgetln.c/fgetwln.c/closefrom.c compatibility code was obtained fromhttps://gitlab.freedesktop.org/libbsd/libbsd, but I'm not sure it makessense to import it into to contrib just for these three bootstrap files.Reviewed By: brooksDifferential Revision: https://reviews.freebsd.org/D25978