summaryrefslogtreecommitdiff
path: root/news
diff options
context:
space:
mode:
authorrhialto <rhialto@pkgsrc.org>2018-11-18 14:31:56 +0000
committerrhialto <rhialto@pkgsrc.org>2018-11-18 14:31:56 +0000
commit9311f6f2f541eef4b8c7e5be830e5f41c488cd7a (patch)
tree75c6cf09b6609263c0856d5824e8653b7ecda99d /news
parent9c2a322dc5871523806baeb3b94b6eadbad49ae6 (diff)
downloadpkgsrc-9311f6f2f541eef4b8c7e5be830e5f41c488cd7a.tar.gz
Add patch to avoid some unneeded UTF-8 strings.
Diffstat (limited to 'news')
-rw-r--r--news/pan/distinfo3
-rw-r--r--news/pan/patches/patch-pan-general-e-util.cc23
2 files changed, 25 insertions, 1 deletions
diff --git a/news/pan/distinfo b/news/pan/distinfo
index 2e8d7caf3eb..83c36af815e 100644
--- a/news/pan/distinfo
+++ b/news/pan/distinfo
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.31 2018/07/14 15:15:12 maya Exp $
+$NetBSD: distinfo,v 1.32 2018/11/18 14:31:56 rhialto Exp $
SHA1 (pan-0.145.tar.bz2) = b8b6c57a3198e2f2db7443661fe11b523518ec9f
RMD160 (pan-0.145.tar.bz2) = 4286659500e031219c7e972ff87f645f43d68ede
SHA512 (pan-0.145.tar.bz2) = 3dc92d519158ddd480fc43250bf7a3ec67a877e58b0877c02b99f1dfd968bf18c9a20c3d8c4b6acab4132da89b6b91dd2992616ddf46c1c3f9aa0de8f8ee1949
Size (pan-0.145.tar.bz2) = 2307162 bytes
+SHA1 (patch-pan-general-e-util.cc) = c252f074b139b100f3f879261b1ba894b5f3350c
SHA1 (patch-pan_general_text-match.cc) = eaf15f3323f693d094892d3283437ad5ac3c9682
SHA1 (patch-pan_general_text-match.h) = 6ac5a68a8b1cb472df517a8df53eee5a79e4c73c
diff --git a/news/pan/patches/patch-pan-general-e-util.cc b/news/pan/patches/patch-pan-general-e-util.cc
new file mode 100644
index 00000000000..1270857c990
--- /dev/null
+++ b/news/pan/patches/patch-pan-general-e-util.cc
@@ -0,0 +1,23 @@
+$NetBSD: patch-pan-general-e-util.cc,v 1.1 2018/11/18 14:31:56 rhialto Exp $
+
+Replace UTF-8 colons by real ones, so it works in more locales.
+
+diff --git a/pan/general/e-util.cc b/pan/general/e-util.cc
+index af5ccd0..efb7932 100644
+--- pan/general/e-util.cc
++++ pan/general/e-util.cc
+@@ -208,10 +208,10 @@ EvolutionDateMaker :: set_current_time (time_t now)
+ EvolutionDateMaker :: EvolutionDateMaker (time_t now)
+ {
+ // build the locale strings
+- locale_recent = g_locale_from_utf8 (_("%l∶%M %p"), -1, NULL, NULL, NULL);
+- locale_today = g_locale_from_utf8 (_("Today %l∶%M %p"), -1, NULL, NULL, NULL);
+- locale_this_week = g_locale_from_utf8 (_("%a %l∶%M %p"), -1, NULL, NULL, NULL);
+- locale_this_year = g_locale_from_utf8 (_("%b %d %l∶%M %p"), -1, NULL, NULL, NULL);
++ locale_recent = g_locale_from_utf8 (_("%l:%M %p"), -1, NULL, NULL, NULL);
++ locale_today = g_locale_from_utf8 (_("Today %l:%M %p"), -1, NULL, NULL, NULL);
++ locale_this_week = g_locale_from_utf8 (_("%a %l:%M %p"), -1, NULL, NULL, NULL);
++ locale_this_year = g_locale_from_utf8 (_("%b %d %l:%M %p"), -1, NULL, NULL, NULL);
+ locale_old = g_locale_from_utf8 (_("%b %d %Y"), -1, NULL, NULL, NULL);
+
+ // set the current time