From owner-freebsd-ports Wed Apr 18 18:50:23 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 C19BA37B42C for ; Wed, 18 Apr 2001 18:50:14 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f3J1oEs85812; Wed, 18 Apr 2001 18:50:14 -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 8C55B37B424 for ; Wed, 18 Apr 2001 18:42:17 -0700 (PDT) (envelope-from leeym@utopia.leeym.com) Received: (from leeym@localhost) by utopia.leeym.com (8.11.3/8.11.3) id f3J1gDh14401; Thu, 19 Apr 2001 09:42:13 +0800 (CST) (envelope-from leeym) Message-Id: <200104190142.f3J1gDh14401@utopia.leeym.com> Date: Thu, 19 Apr 2001 09:42:13 +0800 (CST) From: leeym@bsd.ce.ntu.edu.tw Reply-To: leeym@bsd.ce.ntu.edu.tw To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/26691: update port: chinese/tin Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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