Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jun 2001 01:10:36 +0800 (CST)
From:      Yen-Ming Lee <leeym@bsd.ce.ntu.edu.tw>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/28341: fix port: chinese/big5con
Message-ID:  <200106221710.f5MHAae28864@utopia.leeym.com>

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

>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




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