From nobody  Wed Apr 22 18:40:34 1998
Received: (from nobody@localhost)
          by hub.freebsd.org (8.8.8/8.8.8) id SAA02716;
          Wed, 22 Apr 1998 18:40:34 -0700 (PDT)
          (envelope-from nobody)
Message-Id: <199804230140.SAA02716@hub.freebsd.org>
Date: Wed, 22 Apr 1998 18:40:34 -0700 (PDT)
From: nobu@psrc.isac.co.jp
To: freebsd-gnats-submit@freebsd.org
Subject: fix some setlocale problem in ports/japanese/less
X-Send-Pr-Version: www-1.0

>Number:         6390
>Category:       ports
>Synopsis:       fix some setlocale problem in ports/japanese/less
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 22 18:50:01 PDT 1998
>Closed-Date:    Sun May 3 19:33:38 PDT 1998
>Last-Modified:  Sun May  3 19:34:21 PDT 1998
>Originator:     Nobuhiro Yasutomi
>Release:        2.2.5-RELEASE
>Organization:
ISAC, Inc.
>Environment:
FreeBSD gallup.rd.isac.co.jp 2.2.5-RELEASE FreeBSD 2.2.5-RELEASE #0: Tue Apr  7 18:34:24 JST 1998     nobu@gallup.rd.isac.co.jp:/usr/src/sys/compile/GALLUP  i386

>Description:
in case, LANG and LC_ALL setting combination comes not understanding
i18n charsets. This patch for use XPG4 `setlocale(3)' function.

-- reported by Kazuo Horikawa <horikawa@ebina.hitachi.co.jp>
>How-To-Repeat:
% unsetenv LANG
% setenv LC_ALL ja_JP.EUC
% jless japanese-text	# show text including i18n charcode

>Fix:
add patches/patch-ab followed:
--- Makefile.in-	Fri Apr 17 13:37:28 1998
+++ Makefile.in	Wed Apr 22 13:14:28 1998
@@ -15,7 +15,7 @@
 LDFLAGS = @LDFLAGS@
 O=o
 
-LIBS = @LIBS@
+LIBS = @LIBS@ -lxpg4
 
 prefix = @prefix@
 exec_prefix = @exec_prefix@

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Sun May 3 19:33:38 PDT 1998 
State-Changed-Why:  
New patch added, thanks! 
>Unformatted:
