Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Oct 2002 01:09:31 -0700 (PDT)
From:      TOMITA Yoshinori <yoshint@hotmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/43578: ports/japanese/sj3 build error
Message-ID:  <200210020809.g9289V0I044764@www.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         43578
>Category:       ports
>Synopsis:       ports/japanese/sj3 build error
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 02 01:10:08 PDT 2002
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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