From owner-freebsd-ports Fri Jun 22 10:20:10 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E52B737B406 for ; Fri, 22 Jun 2001 10:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f5MHK1L03026; Fri, 22 Jun 2001 10:20:01 -0700 (PDT) (envelope-from gnats) Received: from utopia.leeym.com (utopia.leeym.com [211.72.162.194]) by hub.freebsd.org (Postfix) with ESMTP id 0DF9337B406 for ; Fri, 22 Jun 2001 10:10:39 -0700 (PDT) (envelope-from leeym@utopia.leeym.com) Received: (from leeym@localhost) by utopia.leeym.com (8.11.4/8.11.4) id f5MHAae28864; Sat, 23 Jun 2001 01:10:36 +0800 (CST) (envelope-from leeym) Message-Id: <200106221710.f5MHAae28864@utopia.leeym.com> Date: Sat, 23 Jun 2001 01:10:36 +0800 (CST) From: Yen-Ming Lee Reply-To: Yen-Ming Lee To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/28341: fix port: chinese/big5con Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 28341 >Category: ports >Synopsis: fix port: chinese/big5con >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Jun 22 10:20:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Yen-Ming Lee >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: System: FreeBSD utopia.leeym.com 5.0-CURRENT FreeBSD 5.0-CURRENT #3: Fri Jun 15 10:06:12 CST 2001 root@utopia.leeym.com:/mnt/obj/mnt/src/sys/UTOPIA i386 >Description: fix segmentation violation problem and make b5c works with DEVFS in -CURRENT. >How-To-Repeat: >Fix: diff -ruN /usr/ports/chinese/big5con/Makefile big5con/Makefile --- /usr/ports/chinese/big5con/Makefile Mon Jan 8 01:49:44 2001 +++ big5con/Makefile Sat Jun 23 01:01:54 2001 @@ -7,6 +7,7 @@ PORTNAME= big5con PORTVERSION= 0.92e +PORTREVISION= 1 CATEGORIES= chinese MASTER_SITES= ftp://bsd.sinica.edu.tw/pub/FreeBSD/taiwan/users/woju/source/ \ ftp://bsd.sinica.edu.tw/pub/FreeBSD/taiwan/users/woju/binary/ \ diff -ruN /usr/ports/chinese/big5con/files/patch-ai big5con/files/patch-ai --- /usr/ports/chinese/big5con/files/patch-ai Thu Jan 1 08:00:00 1970 +++ big5con/files/patch-ai Sat Jun 23 00:50:33 2001 @@ -0,0 +1,11 @@ +--- src/child.c.orig Fri Jun 22 23:14:24 2001 ++++ src/child.c Sat Jun 23 00:48:55 2001 +@@ -106,7 +106,7 @@ + #if defined(linux) + *(ttyname(fileno(errfp))+8)); + #elif defined(__FreeBSD__) +- *(ttyname(fileno(errfp))+9)); ++ ttyname(fileno(errfp)) ? *(ttyname(fileno(errfp))+9) : '?'); + #endif + fflush(stdout); + >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message