pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/news/pan



Module Name:    pkgsrc
Committed By:   rhialto
Date:           Sun Nov 18 14:31:57 UTC 2018

Modified Files:
        pkgsrc/news/pan: distinfo
Added Files:
        pkgsrc/news/pan/patches: patch-pan-general-e-util.cc

Log Message:
Add patch to avoid some unneeded UTF-8 strings.


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 pkgsrc/news/pan/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/news/pan/patches/patch-pan-general-e-util.cc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/news/pan/distinfo
diff -u pkgsrc/news/pan/distinfo:1.31 pkgsrc/news/pan/distinfo:1.32
--- pkgsrc/news/pan/distinfo:1.31       Sat Jul 14 15:15:12 2018
+++ pkgsrc/news/pan/distinfo    Sun Nov 18 14:31:56 2018
@@ -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

Added files:

Index: pkgsrc/news/pan/patches/patch-pan-general-e-util.cc
diff -u /dev/null pkgsrc/news/pan/patches/patch-pan-general-e-util.cc:1.1
--- /dev/null   Sun Nov 18 14:31:57 2018
+++ pkgsrc/news/pan/patches/patch-pan-general-e-util.cc Sun Nov 18 14:31:56 2018
@@ -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



Home | Main Index | Thread Index | Old Index