diff options
author | ache <ache@FreeBSD.org> | 1998-11-04 02:44:04 +0800 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1998-11-04 02:44:04 +0800 |
commit | d3bd2bba873648ba285237d29c57c623dc02e077 (patch) | |
tree | 5b01a8a5de0d201660fca7f2043a84622858ab1b /www/webglimpse | |
parent | 70e7363395066267a1bd01412a9906507055b87d (diff) | |
download | freebsd-ports-gnome-d3bd2bba873648ba285237d29c57c623dc02e077.tar.gz freebsd-ports-gnome-d3bd2bba873648ba285237d29c57c623dc02e077.tar.zst freebsd-ports-gnome-d3bd2bba873648ba285237d29c57c623dc02e077.zip |
narrow localization to LC_CTYPE only
Diffstat (limited to 'www/webglimpse')
-rw-r--r-- | www/webglimpse/files/patch-ae | 2 | ||||
-rw-r--r-- | www/webglimpse/files/patch-ak | 2 | ||||
-rw-r--r-- | www/webglimpse/files/patch-aq | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/www/webglimpse/files/patch-ae b/www/webglimpse/files/patch-ae index 19d091ff2276..6e37159143a6 100644 --- a/www/webglimpse/files/patch-ae +++ b/www/webglimpse/files/patch-ae @@ -37,7 +37,7 @@ - $nhhops, $local_limit, $remote_limit, $addboxes, @urllist) = ReadConfig($archivepwd); + $nhhops, $local_limit, $remote_limit, $addboxes, $vhost, $usemaxmem, $locale, $charset, @urllist) = ReadConfig($indexdir); + -+$ENV{LANG}=$locale if ($locale ne ''); ++$ENV{LC_CTYPE}=$locale if ($locale ne ''); +setlocale(LC_CTYPE, ""); + +$charset = "; charset=$charset" if ($charset ne ''); diff --git a/www/webglimpse/files/patch-ak b/www/webglimpse/files/patch-ak index 14af89a9abaf..94a833715802 100644 --- a/www/webglimpse/files/patch-ak +++ b/www/webglimpse/files/patch-ak @@ -49,7 +49,7 @@ - $nhhops, $local_limit, $remote_limit, $addboxes, @urllist) = ReadConfig($indexdir); + $nhhops, $local_limit, $remote_limit, $addboxes, $vhost, $usemaxmem, $locale, $charset, @urllist) = ReadConfig($indexdir); + -+$ENV{LANG}=$locale if ($locale ne ''); ++$ENV{LC_CTYPE}=$locale if ($locale ne ''); +setlocale(LC_CTYPE, ""); + +$charset = "; charset=$charset" if ($charset ne ''); diff --git a/www/webglimpse/files/patch-aq b/www/webglimpse/files/patch-aq index 7bff7c53acb8..ecd207b8848b 100644 --- a/www/webglimpse/files/patch-aq +++ b/www/webglimpse/files/patch-aq @@ -13,7 +13,7 @@ print OUT "# CRONFILE FOR ARCHIVE IN DIRECTORY $indexdir\n\n"; +if (defined($locale) && $locale ne '') { -+ print OUT "LANG=$locale; export LANG\n"; ++ print OUT "LC_CTYPE=$locale; export LC_CTYPE\n"; +} + print OUT ('quiet=""',"\n"); |