Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Mar 2002 00:23:07 +0800 (CST)
From:      Yen-Ming Lee <leeym@utopia.leeym.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/36212: update port: chinese/tin
Message-ID:  <20020322162307.918793EA2C8@utopia.leeym.com>

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

>Number:         36212
>Category:       ports
>Synopsis:       update port: chinese/tin
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 22 10:30:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Yen-Ming Lee
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
>Environment:
System: FreeBSD utopia.leeym.com 4.5-STABLE FreeBSD 4.5-STABLE #53: Sat Mar 16 05:41:15 CST 2002 root@utopia.leeym.com:/usr/obj/usr/src/sys/UTOPIA i386


	
>Description:
update to 1.5.11

>How-To-Repeat:
	
>Fix:

	

--- tin.diff begins here ---
Index: files/patch-charset.c
===================================================================
RCS file: /home/ncvs/ports/chinese/tin/files/patch-charset.c,v
retrieving revision 1.2
diff -u -r1.2 patch-charset.c
--- files/patch-charset.c	2001/04/14 01:06:55	1.2
+++ files/patch-charset.c	2002/03/22 16:21:31
@@ -1,5 +1,5 @@
---- src/charset.c.orig	Mon Jan 29 18:32:23 2001
-+++ src/charset.c	Sat Apr 14 08:50:15 2001
+--- src/charset.c.orig	Tue Jan 29 22:31:11 2002
++++ src/charset.c	Fri Mar 22 22:55:40 2002
 @@ -335,7 +335,7 @@
  
  	for (c = (unsigned char *)buf; *c; c++) {
@@ -9,12 +9,12 @@
  			*c = '?';
  		while (--t_len > 0)
  			c++;
-@@ -364,7 +364,7 @@
+@@ -363,7 +363,7 @@
  
  	for (c = (unsigned char *)buf; *c; c++) {
- #	ifdef ENABLE_MBLEN
+ #ifdef ENABLE_MBLEN
 -		if (!(my_isprint(*c) || *c == 8 || *c == 9 || *c == 10 || *c == 12 || *c == 13) && (t_len = mblen(c, MAX(2,MB_CUR_MAX))) <= 1)
-+		if (!(my_isprint(*c) || *c == 8 || *c == 9 || *c == 10 || *c == 12 || *c == 13  || *c==27) && (t_len = mblen(c, MAX(2,MB_CUR_MAX))) <= 1)
++		if (!(my_isprint(*c) || *c == 8 || *c == 9 || *c == 10 || *c == 12 || *c == 13 || *c == 27) && (t_len = mblen(c, MAX(2,MB_CUR_MAX))) <= 1)
  			*c = '?';
  		while (--t_len > 0)
  			c++;
Index: files/patch-page.c
===================================================================
RCS file: /home/ncvs/ports/chinese/tin/files/patch-page.c,v
retrieving revision 1.3
diff -u -r1.3 patch-page.c
--- files/patch-page.c	2001/08/08 10:31:54	1.3
+++ files/patch-page.c	2002/03/22 16:21:32
@@ -20,15 +20,6 @@
  #endif /* !USE_CURSES */
  
  		MoveCursor (i + scroll_region_top, 0);
-@@ -918,7 +918,7 @@
- 
- 	search_line = curr_line;	/* Reset search to start from top of display */
- 
--	buff = my_malloc(cCOLS + 1);	/* Need to account for \n */
-+	buff = my_malloc(LEN + 1);	/* Need to account for \n */
- 
- 	if (part == 0) {
- 		ClearScreen();
 @@ -1364,7 +1364,7 @@
  					chunk += 50;
  					pgart.rawl = my_realloc((char *) pgart.rawl, sizeof(t_lineinfo) * chunk);
--- tin.diff ends here ---


>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?20020322162307.918793EA2C8>