Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Apr 2001 09:42:13 +0800 (CST)
From:      leeym@bsd.ce.ntu.edu.tw
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/26691: update port: chinese/tin
Message-ID:  <200104190142.f3J1gDh14401@utopia.leeym.com>

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

>Number:         26691
>Category:       ports
>Synopsis:       update port: chinese/tin
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 18 18:50:05 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Yen-Ming Lee
>Release:        FreeBSD 4.3-RC i386
>Organization:
>Environment:
System: FreeBSD utopia.leeym.com 4.3-RC FreeBSD 4.3-RC #1: Sun Apr 15 16:39:44 CST 2001 root@utopia.leeym.com:/usr/obj/usr/src/sys/UTOPIA i386


	
>Description:

+ disable line wrap for ASCII color display.

>How-To-Repeat:
	
>Fix:

diff -ruN /usr/ports/chinese/tin/Makefile tin/Makefile
--- /usr/ports/chinese/tin/Makefile	Tue Feb  6 00:04:06 2001
+++ tin/Makefile	Thu Apr 19 09:39:45 2001
@@ -13,7 +13,8 @@
 EXTRA_PATCHES=	${.CURDIR}/files/patch-charset.c \
 		${.CURDIR}/files/patch-cook.c \
 		${.CURDIR}/files/patch-init.c \
-		${.CURDIR}/files/patch-misc.c
+		${.CURDIR}/files/patch-misc.c \
+		${.CURDIR}/files/patch-page.c
 
 .include "${MASTERDIR}/Makefile"
 
diff -ruN /usr/ports/chinese/tin/files/patch-page.c tin/files/patch-page.c
--- /usr/ports/chinese/tin/files/patch-page.c	Thu Jan  1 08:00:00 1970
+++ tin/files/patch-page.c	Thu Apr 19 09:35:38 2001
@@ -0,0 +1,20 @@
+--- src/page.c.orig	Wed Feb 21 03:18:52 2001
++++ src/page.c	Thu Apr 19 09:35:25 2001
+@@ -867,7 +867,7 @@
+ 		curr = &artline[curr_line+i];
+ 		fseek (note_fp, curr->offset, SEEK_SET);
+ 
+-		fgets (buff, cCOLS+1, note_fp);
++		fgets (buff, MAXPATHLEN, note_fp);
+ 
+ 		/*
+ 		 * rotN encoding on body and sig data only
+@@ -1186,7 +1186,7 @@
+ 
+ 		make_group_path (CURR_GROUP.name, group_path);
+ 
+-		switch (art_open (TRUE, &arts[new_respnum], group_path, &pgart)) {
++		switch (art_open (FALSE, &arts[new_respnum], group_path, &pgart)) {
+ 
+ 			case ART_UNAVAILABLE:
+ 				art_mark_read (&CURR_GROUP, &arts[new_respnum]);
>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?200104190142.f3J1gDh14401>