]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r277147:
authordim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 17 Jan 2015 11:41:04 +0000 (11:41 +0000)
committerdim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 17 Jan 2015 11:41:04 +0000 (11:41 +0000)
commitcbf01abdc080b5eee3a870062336a78bfb9df314
tree26a52839ed703b241d4a4a55fe40ddd9ea2aae2c
parent6d8c99dc6d264927e4c37a87f3e0df8b26ad3125
MFC r277147:

Since the merge of file 5.21 in r276415 and r276416, stable/9 and
stable/10 cannot be built from FreeBSD 8.x.  This is because the
build-tools stage requires libmagic, but lib/libmagic/config.h was
generated on head, and it now enables using the xlocale.h APIs, which
are not supported on 8.x (and on 9.x before __FreeBSD_version 900506).

See also the start of this thread on -stable:
https://lists.freebsd.org/pipermail/freebsd-stable/2015-January/081521.html

To fix this, conditionalize the use of xlocale.h APIs to make
bootstrapping from older FreeBSD versions work correctly.

Reviewed by: delphij
Differential Revision: https://reviews.freebsd.org/D1518

git-svn-id: svn://svn.freebsd.org/base/stable/9@277296 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
lib/libmagic/config.h