summaryrefslogtreecommitdiff
path: root/net-mail/sympa/files/sympa-5.4.locale.patch
diff options
context:
space:
mode:
Diffstat (limited to 'net-mail/sympa/files/sympa-5.4.locale.patch')
-rw-r--r--net-mail/sympa/files/sympa-5.4.locale.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/net-mail/sympa/files/sympa-5.4.locale.patch b/net-mail/sympa/files/sympa-5.4.locale.patch
new file mode 100644
index 0000000..d47ef07
--- /dev/null
+++ b/net-mail/sympa/files/sympa-5.4.locale.patch
@@ -0,0 +1,19 @@
+--- src/sympa.pl.orig 2008-04-25 11:14:22.778440706 +0200
++++ src/sympa.pl 2008-04-25 11:15:04.042853056 +0200
+@@ -203,6 +203,7 @@
+ ## Set locale configuration
+ $main::options{'lang'} =~ s/\.cat$//; ## Compatibility with version < 2.3.3
+ $Language::default_lang = $main::options{'lang'} || $Conf{'lang'};
++&Language::SetLang($Language::default_lang);
+
+ ## Main program
+ if (!chdir($Conf{'home'})) {
+@@ -827,8 +828,6 @@
+ ## them, sleeps a while and continues the good job.
+ while (!$signal) {
+
+- &Language::SetLang($Language::default_lang);
+-
+ &List::init_list_cache();
+
+ if (!opendir(DIR, $spool)) {