diff options
author | Norikatsu Shigemura <nork@FreeBSD.org> | 2003-04-11 20:32:58 +0000 |
---|---|---|
committer | Norikatsu Shigemura <nork@FreeBSD.org> | 2003-04-11 20:32:58 +0000 |
commit | e64198eea2109b1d92b15cb549480297ec61e89b (patch) | |
tree | 91786e3561cada954d7a9a8fd42c30fad30850a8 /ftp | |
parent | Fix build on sparc64. (diff) |
Contain '\r' with FTP commands.
PR: ports/50836
Submitted by: Xavier Beaudouin <kiwi@oav.net> (maintainer)
Notes
Notes:
svn path=/head/; revision=78762
Diffstat (limited to 'ftp')
-rw-r--r-- | ftp/fmirror/Makefile | 1 | ||||
-rw-r--r-- | ftp/fmirror/files/patch-aa | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/ftp/fmirror/Makefile b/ftp/fmirror/Makefile index 0d27f23de89b..5a91abbabc18 100644 --- a/ftp/fmirror/Makefile +++ b/ftp/fmirror/Makefile @@ -7,6 +7,7 @@ PORTNAME= fmirror PORTVERSION= 0.8.4 +PORTREVISION= 1 CATEGORIES= ftp MASTER_SITES= ftp://ftp.guardian.no/pub/free/ftp/fmirror/ diff --git a/ftp/fmirror/files/patch-aa b/ftp/fmirror/files/patch-aa new file mode 100644 index 000000000000..a5f5f4b4d40a --- /dev/null +++ b/ftp/fmirror/files/patch-aa @@ -0,0 +1,11 @@ +--- fmirror.c.old Fri Apr 11 21:37:09 2003 ++++ fmirror.c Fri Apr 11 21:39:33 2003 +@@ -642,7 +642,7 @@ + va_list args; + va_start(args, format); + vsprintf(buffer, format, args); +- l = fprintf(out_file, "%s\n", buffer); ++ l = fprintf(out_file, "%s\r\n", buffer); + fflush(out_file); + buffer[l - 1] = 0; + LOG(6, cmd, ("---> %s", buffer)); |