aboutsummaryrefslogtreecommitdiffstats
path: root/www/horde4-base/files
diff options
context:
space:
mode:
authorbeech <beech@FreeBSD.org>2007-12-20 10:19:18 +0800
committerbeech <beech@FreeBSD.org>2007-12-20 10:19:18 +0800
commitf1f2e14638c138872dea0c7be1db68a078d8206d (patch)
tree17b4295fe7ff39172d3141c3dc2393b541b6cf68 /www/horde4-base/files
parentb15d7da80d071972ba9bf81c077812241e598a9e (diff)
downloadfreebsd-ports-gnome-f1f2e14638c138872dea0c7be1db68a078d8206d.tar.gz
freebsd-ports-gnome-f1f2e14638c138872dea0c7be1db68a078d8206d.tar.zst
freebsd-ports-gnome-f1f2e14638c138872dea0c7be1db68a078d8206d.zip
- Fix patch-lib_Horde_NLS.php
- Bump portrevision Approved by: linimon (mentor)
Diffstat (limited to 'www/horde4-base/files')
-rw-r--r--www/horde4-base/files/patch-lib_Horde_NLS.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/www/horde4-base/files/patch-lib_Horde_NLS.php b/www/horde4-base/files/patch-lib_Horde_NLS.php
index 8e157c276647..4404276773d0 100644
--- a/www/horde4-base/files/patch-lib_Horde_NLS.php
+++ b/www/horde4-base/files/patch-lib_Horde_NLS.php
@@ -4,10 +4,10 @@
setlocale(LC_ALL, $lang_charset);
}
}
-+        /* avoid FreeBSD issapce(3) bug */
-+        if(NLS::getCharset() == "UTF-8"){
-+            setlocale(LC_CTYPE,"C");
-+        }
++ /* avoid FreeBSD issapce(3) bug */
++ if(NLS::getCharset() == "UTF-8"){
++ setlocale(LC_CTYPE,"C");
++ }
@putenv('LANG=' . $lang_charset);
@putenv('LANGUAGE=' . $lang_charset);
}