From 02acad69ed7fb13dc4894740ffecc2f5b439a7ba Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Mon, 31 Mar 2003 02:08:23 +0000 Subject: Work around bug where NcFTP3 will exit unexpectedly when it gets multibyte (such as big5) characters: ncftp3 some.ftp.site and execute "ls .txt" PR: 50458 Submitted by: Yen-Ming Lee --- ftp/ncftp3/Makefile | 2 +- ftp/ncftp3/files/patch-getline.c | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) (limited to 'ftp/ncftp3') diff --git a/ftp/ncftp3/Makefile b/ftp/ncftp3/Makefile index 17b2262f32ff..6e110e5fdab8 100644 --- a/ftp/ncftp3/Makefile +++ b/ftp/ncftp3/Makefile @@ -8,7 +8,7 @@ PORTNAME= ncftp PORTVERSION= 3.1.5 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= ftp ipv6 MASTER_SITES= ftp://ftp.ncftp.com/ncftp/ DISTNAME= ncftp-${PORTVERSION}-src diff --git a/ftp/ncftp3/files/patch-getline.c b/ftp/ncftp3/files/patch-getline.c index ebe41993055c..610c8424fe75 100644 --- a/ftp/ncftp3/files/patch-getline.c +++ b/ftp/ncftp3/files/patch-getline.c @@ -1,5 +1,14 @@ --- ncftp/getline.c.orig Sat Apr 7 16:55:16 2001 +++ ncftp/getline.c Sun Jul 29 11:10:37 2001 +@@ -367,7 +367,7 @@ + { + int c; + #ifdef __unix__ +- char ch; ++ unsigned char ch; + #endif + + #ifdef __unix__ @@ -974,7 +974,12 @@ kill(0, sig); gl_init(); -- cgit v1.2.3