git: gcc50: Add proper locale support to libstdc++ (local mod)

John Marino marino at crater.dragonflybsd.org
Thu Jul 30 15:07:41 PDT 2015


commit e60a3cb202ffa3a0ff7222c772d58ad4cc54df31
Author: John Marino <draco at marino.st>
Date:   Thu Jul 30 22:03:21 2015 +0200

    gcc50: Add proper locale support to libstdc++ (local mod)
    
    These patches will be sent upstream soon.  DragonFly is the only BSD
    with c++ local support.  The exception is "messages".  The glibc has
    gettext functions incorporated to support it, but we can't used libintl
    because that would require linking it to every c++ executable.

Summary of changes:
 contrib/gcc-5.0/README.DRAGONFLY                   |  11 +
 .../config/locale/dragonfly/c_locale.cc            | 164 +---
 .../config/locale/dragonfly/c_locale.h             |  81 ++
 .../config/locale/dragonfly/codecvt_members.cc     | 288 +++++++
 .../config/locale/dragonfly/collate_members.cc     |  74 ++
 .../config/locale/dragonfly/ctype_members.cc       |  95 ++-
 .../config/locale/dragonfly/monetary_members.cc    | 903 +++++++++++++++++++++
 .../config/locale/dragonfly/numeric_members.cc     | 235 ++++++
 .../config/locale/dragonfly/time_members.cc        | 404 +++++++++
 .../config/locale/dragonfly/time_members.h         |  95 +++
 .../os/bsd/dragonfly/ctype_configure_char.cc       |  54 +-
 11 files changed, 2248 insertions(+), 156 deletions(-)
 create mode 100644 contrib/gcc-5.0/libstdc++-v3/config/locale/dragonfly/c_locale.h
 create mode 100644 contrib/gcc-5.0/libstdc++-v3/config/locale/dragonfly/codecvt_members.cc
 create mode 100644 contrib/gcc-5.0/libstdc++-v3/config/locale/dragonfly/collate_members.cc
 create mode 100644 contrib/gcc-5.0/libstdc++-v3/config/locale/dragonfly/monetary_members.cc
 create mode 100644 contrib/gcc-5.0/libstdc++-v3/config/locale/dragonfly/numeric_members.cc
 create mode 100644 contrib/gcc-5.0/libstdc++-v3/config/locale/dragonfly/time_members.cc
 create mode 100644 contrib/gcc-5.0/libstdc++-v3/config/locale/dragonfly/time_members.h

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e60a3cb202ffa3a0ff7222c772d58ad4cc54df31


-- 
DragonFly BSD source repository



More information about the Commits mailing list