Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Dec 2007 21:54:24 +0300
From:      Andrey Chernov <ache@nagual.pp.ru>
To:        Beech Rintoul <beech@FreeBSD.ORG>
Cc:        Nicki de Wet <nicki@astcape.co.za>, freebsd-ports@FreeBSD.ORG
Subject:   Re: www/horde-base
Message-ID:  <20071220185424.GA18621@nagual.pp.ru>
In-Reply-To: <200712200021.39962.beech@freebsd.org>
References:  <013701c842e3$e9cc2a20$e501a8c0@CC10673> <200712200021.39962.beech@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Dec 20, 2007 at 12:21:35AM -0900, Beech Rintoul wrote:
> > --- usr/local/www/horde/lib/Horde/NLS.php       Sat Sep 29 17:22:46
> > 2007 +++ /usr/local/www/horde/lib/Horde/NLS.php      Thu Dec 20
> > 10:38:46 2007 @@ -119,6 +119,10 @@
> >                  setlocale(LC_ALL, $lang_charset);
> >              }
> >          }
> > +        /* avoid FreeBSD issapce(3) bug */
> > +        if(NLS::getCharset() == "UTF-8"){
> > +          setlocale(LC_CTYPE,"C");
> > +        }
> >          @putenv('LANG=' . $lang_charset);
> >          @putenv('LANGUAGE=' . $lang_charset);
> >      }
> >
> > Regards,
> > Nicki
> 
> The problem has been fixed, update your ports tree and rebuild.

You need to use __FreeBSD_version check in your patch, since the bug 
itself is fixed in 7x and up.

-- 
http://ache.pp.ru/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071220185424.GA18621>