]> CyberLeo.Net >> Repos - FreeBSD/stable/10.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)
commit3d45aa214eecc58f2a6467a61c04cd7c4d03a0bd
treeabbfc4ed04271bcb13d45214ec7567c3eb255af5
parent33a9c31534c22e4c49c8097d834c7809e60fd21c
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/10@277296 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
lib/libmagic/config.h