aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2009-09-29 00:18:08 +0800
committerthierry <thierry@FreeBSD.org>2009-09-29 00:18:08 +0800
commit9ff98d76ab1da78d9bb84440288f3048f7b780a5 (patch)
tree7b8f6e97dae8410eb08f1c4e523e8f2063c021b1 /www
parentb83b6d758606a03245573f410d2ff6975f1608ee (diff)
downloadfreebsd-ports-gnome-9ff98d76ab1da78d9bb84440288f3048f7b780a5.tar.gz
freebsd-ports-gnome-9ff98d76ab1da78d9bb84440288f3048f7b780a5.tar.zst
freebsd-ports-gnome-9ff98d76ab1da78d9bb84440288f3048f7b780a5.zip
Fix extra-patch for FreeBSD < 7.
Reported by: pointyhat via pav and miwi Feature safe: yes Committed from: Abidjan, Ivory Coast
Diffstat (limited to 'www')
-rw-r--r--www/horde-base/files/extra-patch-lib_Horde_NLS.php12
-rw-r--r--www/horde4-base/files/extra-patch-lib_Horde_NLS.php12
2 files changed, 12 insertions, 12 deletions
diff --git a/www/horde-base/files/extra-patch-lib_Horde_NLS.php b/www/horde-base/files/extra-patch-lib_Horde_NLS.php
index 47daa0dcfec6..96eff63ba486 100644
--- a/www/horde-base/files/extra-patch-lib_Horde_NLS.php
+++ b/www/horde-base/files/extra-patch-lib_Horde_NLS.php
@@ -1,14 +1,14 @@
---- lib/Horde/NLS.php.orig 2008-01-22 10:08:06.000000000 -0900
-+++ lib/Horde/NLS.php 2008-02-29 09:50:02.000000000 -0900
-@@ -132,7 +132,10 @@
- setlocale(LC_ALL, $lang_charset);
+--- lib/Horde/NLS.php.orig 2009-09-14 10:08:48.000000000 +0000
++++ lib/Horde/NLS.php 2009-09-28 18:06:58.000000000 +0000
+@@ -133,6 +133,11 @@
}
}
--
+
+ /* avoid FreeBSD issapce(3) bug */
+ if(NLS::getCharset() == "UTF-8"){
+ setlocale(LC_CTYPE,"C");
+ }
++
+ @putenv('LC_ALL=' . $lang_charset);
@putenv('LANG=' . $lang_charset);
@putenv('LANGUAGE=' . $lang_charset);
- }
diff --git a/www/horde4-base/files/extra-patch-lib_Horde_NLS.php b/www/horde4-base/files/extra-patch-lib_Horde_NLS.php
index 47daa0dcfec6..96eff63ba486 100644
--- a/www/horde4-base/files/extra-patch-lib_Horde_NLS.php
+++ b/www/horde4-base/files/extra-patch-lib_Horde_NLS.php
@@ -1,14 +1,14 @@
---- lib/Horde/NLS.php.orig 2008-01-22 10:08:06.000000000 -0900
-+++ lib/Horde/NLS.php 2008-02-29 09:50:02.000000000 -0900
-@@ -132,7 +132,10 @@
- setlocale(LC_ALL, $lang_charset);
+--- lib/Horde/NLS.php.orig 2009-09-14 10:08:48.000000000 +0000
++++ lib/Horde/NLS.php 2009-09-28 18:06:58.000000000 +0000
+@@ -133,6 +133,11 @@
}
}
--
+
+ /* avoid FreeBSD issapce(3) bug */
+ if(NLS::getCharset() == "UTF-8"){
+ setlocale(LC_CTYPE,"C");
+ }
++
+ @putenv('LC_ALL=' . $lang_charset);
@putenv('LANG=' . $lang_charset);
@putenv('LANGUAGE=' . $lang_charset);
- }