From nobody@FreeBSD.org  Wed Oct  2 01:09:41 2002
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 2C37937B401
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  2 Oct 2002 01:09:41 -0700 (PDT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id B40B243E6E
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  2 Oct 2002 01:09:40 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.6/8.12.6) with ESMTP id g9289V7R044765
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 2 Oct 2002 01:09:31 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.6/8.12.6/Submit) id g9289V0I044764;
	Wed, 2 Oct 2002 01:09:31 -0700 (PDT)
Message-Id: <200210020809.g9289V0I044764@www.freebsd.org>
Date: Wed, 2 Oct 2002 01:09:31 -0700 (PDT)
From: TOMITA Yoshinori <yoshint@hotmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: ports/japanese/sj3 build error
X-Send-Pr-Version: www-1.0

>Number:         43578
>Category:       ports
>Synopsis:       ports/japanese/sj3 build error
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    nork
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 02 01:10:08 PDT 2002
>Closed-Date:    Sun Oct 27 08:44:26 PST 2002
>Last-Modified:  Sun Oct 27 08:44:26 PST 2002
>Originator:     TOMITA Yoshinori
>Release:        5.0-CURRENT
>Organization:
>Environment:
FreeBSD laksmi.proc.flab.fujitsu.co.jp 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Wed Sep 25 19:22:02 JST 2002     XXX@YYY.ZZZ:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
The enclosed patch will fix build error and install error


>How-To-Repeat:
cd /usr/ports/japanese/sj3
make

>Fix:
This is a patch for a sj3 source file.

--- sj3/sj3.c~  Wed Oct  2 16:37:37 2002
+++ sj3/sj3.c   Wed Oct  2 16:43:15 2002
@@ -1061,14 +1061,14 @@
            return;
         if (info.si_code == CLD_STOPPED)
 #else
-       union wait      status;
+       int             status;
        int             pid;
 
 /*
  * Remove warning.
  * Patched by Hidekazu Kuroki(hidekazu@cs.titech.ac.jp)                1996/8/10
  */
-       pid = wait3 ((int *)&status, (WNOHANG|WUNTRACED), 0);
+       pid = wait3 (&status, (WNOHANG|WUNTRACED), 0);
        if (WIFSTOPPED (status))
 #endif
                suspend();

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

This is a patch for ports/japanese/sj3/pkg-install


--- pkg-install~        Sat Oct 10 01:10:37 1998
+++ pkg-install Wed Oct  2 16:45:21 2002
@@ -4,7 +4,7 @@
     POST-INSTALL)
        dic="${PKG_PREFIX}/lib/sj3/dict/user"
        mkdir -p $dic
-       chown bin.bin $dic
+       chown bin:bin $dic
        ;;
 esac

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->analyzed 
State-Changed-By: nork 
State-Changed-When: Sun Oct 27 08:26:22 PST 2002 
State-Changed-Why:  
I'll handle this. 


Responsible-Changed-From-To: freebsd-ports->nork 
Responsible-Changed-By: nork 
Responsible-Changed-When: Sun Oct 27 08:26:22 PST 2002 
Responsible-Changed-Why:  
I'll handle this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=43578 
State-Changed-From-To: analyzed->closed 
State-Changed-By: nork 
State-Changed-When: Sun Oct 27 08:43:47 PST 2002 
State-Changed-Why:  
Committed, Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=43578 
>Unformatted:
