aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/fmirror
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2003-04-12 04:32:58 +0800
committernork <nork@FreeBSD.org>2003-04-12 04:32:58 +0800
commit45d0573e8a1415228a8bb499a504d30974e16a1c (patch)
tree9f816531d972e96410b902ce5f1e142f043a4d96 /ftp/fmirror
parent7da337ea346bab5543f461fe29c86b366ac7344f (diff)
downloadfreebsd-ports-gnome-45d0573e8a1415228a8bb499a504d30974e16a1c.tar.gz
freebsd-ports-gnome-45d0573e8a1415228a8bb499a504d30974e16a1c.tar.zst
freebsd-ports-gnome-45d0573e8a1415228a8bb499a504d30974e16a1c.zip
Contain '\r' with FTP commands.
PR: ports/50836 Submitted by: Xavier Beaudouin <kiwi@oav.net> (maintainer)
Diffstat (limited to 'ftp/fmirror')
-rw-r--r--ftp/fmirror/Makefile1
-rw-r--r--ftp/fmirror/files/patch-aa11
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));