git: localedef - Fix buildworld bootstrapping issue

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Jul 28 20:42:29 PDT 2015


commit 5c0fb8c48b7e63e49eafb6a330ffbb26b65bd0da
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Jul 28 20:28:05 2015 -0700

    localedef - Fix buildworld bootstrapping issue
    
    * When running buildworld on an older system the localedef built in
      BTOOLS using /usr/include/limits.h will fail building the locales.
    
    * Fix the problem by adding localedef to CTOOLS.
    
    * Also fix a problem where the old limits.h defines COLL_WEIGHTS_MAX as 0
      and breaks the building of localedef itself.  Check for the case in
      collate.c.

Summary of changes:
 Makefile.inc1               | 1 +
 usr.bin/localedef/collate.c | 9 +++++++++
 2 files changed, 10 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5c0fb8c48b7e63e49eafb6a330ffbb26b65bd0da


-- 
DragonFly BSD source repository


More information about the Commits mailing list