package: glibc tags: l10n, patch Hi,
To deal with Japanese new era "令和 (Reiwa)" (from 1st May), please add attached patch that is taken from upstream(*) It should be applied to stretch as well. (*) https://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=7423da211d1490d9fc76c2f0ce49e5dd90ea9bcc;hp=4aeff335ca19286ee2382d8eba794ae5fd49281a -- Regards, Hideki Yamane henrich @ debian.org/iijmio-mail.jp
>From 3a660291290fd6e65db1f17fbfff67fa4ef2bc99 Mon Sep 17 00:00:00 2001 From: Hideki Yamane <henr...@debian.org> Date: Thu, 25 Apr 2019 10:33:00 +0900 Subject: [PATCH] add localedata/locale-ja_JP-reiwa_era.diff --- .../localedata/locale-ja_JP-reiwa_era.diff | 30 +++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 31 insertions(+) create mode 100644 debian/patches/localedata/locale-ja_JP-reiwa_era.diff diff --git a/debian/patches/localedata/locale-ja_JP-reiwa_era.diff b/debian/patches/localedata/locale-ja_JP-reiwa_era.diff new file mode 100644 index 00000000..141ee8a4 --- /dev/null +++ b/debian/patches/localedata/locale-ja_JP-reiwa_era.diff @@ -0,0 +1,30 @@ +Index: glibc/NEWS +=================================================================== +--- glibc.orig/NEWS ++++ glibc/NEWS +@@ -7,6 +7,10 @@ using `glibc' in the "product" field. + + Version 2.28.1 + ++Major new features: ++ ++* The entry for the new Japanese era has been added for ja_JP locale. ++ + Deprecated and removed features, and other changes affecting compatibility: + + * For powercp64le ABI, Transactional Lock Elision is now enabled iff kernel +Index: glibc/localedata/locales/ja_JP +=================================================================== +--- glibc.orig/localedata/locales/ja_JP ++++ glibc/localedata/locales/ja_JP +@@ -14946,7 +14946,9 @@ am_pm "<U5348><U524D>";"<U5348><U5F8C>" + + t_fmt_ampm "%p%I<U6642>%M<U5206>%S<U79D2>" + +-era "+:2:1990//01//01:+*:<U5E73><U6210>:%EC%Ey<U5E74>";/ ++era "+:2:2020//01//01:+*:<U4EE4><U548C>:%EC%Ey<U5E74>";/ ++ "+:1:2019//05//01:2019//12//31:<U4EE4><U548C>:%EC<U5143><U5E74>";/ ++ "+:2:1990//01//01:2019//04//30:<U5E73><U6210>:%EC%Ey<U5E74>";/ + "+:1:1989//01//08:1989//12//31:<U5E73><U6210>:%EC<U5143><U5E74>";/ + "+:2:1927//01//01:1989//01//07:<U662D><U548C>:%EC%Ey<U5E74>";/ + "+:1:1926//12//25:1926//12//31:<U662D><U548C>:%EC<U5143><U5E74>";/ diff --git a/debian/patches/series b/debian/patches/series index 461d8245..d75630cb 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -20,6 +20,7 @@ localedata/submitted-en_AU-date_fmt.diff localedata/submitted-es_MX-decimal_point.diff localedata/submitted-it_IT-thousands_sep.diff localedata/git-en_US-date_fmt.diff +localedata/locale-ja_JP-reiwa_era.diff alpha/local-gcc4.1.diff alpha/submitted-dl-support.diff -- 2.20.1