aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authortabthorpe <tabthorpe@FreeBSD.org>2009-10-30 02:44:23 +0800
committertabthorpe <tabthorpe@FreeBSD.org>2009-10-30 02:44:23 +0800
commit3dc2c3a49f754d9b85f08e7a74f1a394a87ffe15 (patch)
tree49693d2799a2a3f90ae52ae263ea84aac385c70c /mail
parent9a32a89bfda2ec2110e0fa124254a3d766d00909 (diff)
downloadfreebsd-ports-gnome-3dc2c3a49f754d9b85f08e7a74f1a394a87ffe15.tar.gz
freebsd-ports-gnome-3dc2c3a49f754d9b85f08e7a74f1a394a87ffe15.tar.zst
freebsd-ports-gnome-3dc2c3a49f754d9b85f08e7a74f1a394a87ffe15.zip
- Fix Japanese (and possibly other) text corruption on forward/reply
- Bump PORTREVISION PR: ports/139360 Submitted by: Kazuo Dohzono <dohzono axion-software.com>
Diffstat (limited to 'mail')
-rw-r--r--mail/squirrelmail/Makefile2
-rw-r--r--mail/squirrelmail/files/patch-functions__i18n.php15
2 files changed, 13 insertions, 4 deletions
diff --git a/mail/squirrelmail/Makefile b/mail/squirrelmail/Makefile
index 3b4b7c1b45b4..b0994ae12d99 100644
--- a/mail/squirrelmail/Makefile
+++ b/mail/squirrelmail/Makefile
@@ -7,7 +7,7 @@
PORTNAME= squirrelmail
PORTVERSION= 1.4.20.r2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= mail www
MASTER_SITES= SF/${PORTNAME}/stable/${PORTVERSION:S/.r/-RC/}:squirrelmail \
SF/${PORTNAME}/locales/1.4.18-20090526:locales
diff --git a/mail/squirrelmail/files/patch-functions__i18n.php b/mail/squirrelmail/files/patch-functions__i18n.php
index 7ade75e357e0..30b98d0d4537 100644
--- a/mail/squirrelmail/files/patch-functions__i18n.php
+++ b/mail/squirrelmail/files/patch-functions__i18n.php
@@ -1,6 +1,15 @@
---- ./functions/i18n.php.orig 2009-05-07 17:55:44.000000000 -0400
-+++ ./functions/i18n.php 2009-05-19 23:27:43.000000000 -0400
-@@ -640,7 +640,8 @@
+--- ./functions/i18n.php.orig 2009-07-28 22:21:06.000000000 -0400
++++ ./functions/i18n.php 2009-10-08 10:30:25.000000000 -0400
+@@ -146,7 +146,7 @@
+ }
+
+ /* safety checks */
+- if (preg_match("/^.*\/.*\/.*\/.*\/.*\/.*$/",$ret)) {
++ if (preg_match("/^.*\/.*\/.*\/.*\/.*\/.*$/i",$ret)) {
+ /**
+ * Welcome to We-Don't-Follow-Own-Fine-Manual department
+ * OpenBSD 3.8, 3.9-current and maybe later versions
+@@ -683,7 +683,8 @@
$useragent = func_get_arg(2);
if (strstr($useragent, 'Windows') !== false ||
strstr($useragent, 'Mac_') !== false) {