summaryrefslogtreecommitdiffstats
path: root/ftp
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2003-03-31 02:08:23 +0000
committerobrien <obrien@FreeBSD.org>2003-03-31 02:08:23 +0000
commit45f379a48530bc7cc5eb756fc4fff82377223fa4 (patch)
tree38e2b76b94d977a6c9b1c77a285dbac18eab6ebe /ftp
parent276176ab1dfa192bc16e3625cfd898ddb56ec4e4 (diff)
downloadFreeBSD-ports-45f379a48530bc7cc5eb756fc4fff82377223fa4.zip
FreeBSD-ports-45f379a48530bc7cc5eb756fc4fff82377223fa4.tar.gz
Work around bug where NcFTP3 will exit unexpectedly when it gets multibyte
(such as big5) characters: ncftp3 some.ftp.site and execute "ls <Big5>.txt" PR: 50458 Submitted by: Yen-Ming Lee <leeym@utopia.leeym.com>
Diffstat (limited to 'ftp')
-rw-r--r--ftp/ncftp3/Makefile2
-rw-r--r--ftp/ncftp3/files/patch-getline.c9
2 files changed, 10 insertions, 1 deletions
diff --git a/ftp/ncftp3/Makefile b/ftp/ncftp3/Makefile
index 17b2262..6e110e5 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 ebe4199..610c842 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();
OpenPOWER on IntegriCloud