summaryrefslogtreecommitdiff
path: root/ftp/cftp
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2003-06-27 03:44:48 +0000
committerKris Kennaway <kris@FreeBSD.org>2003-06-27 03:44:48 +0000
commitfba1db00a5f16575f49b29be8a757d8386693e16 (patch)
tree9eb31da4f0e40f9e7b56ef1bd10fc02dfca1564e /ftp/cftp
parentFix incomplete format string and bump PORTREVISION (diff)
Correct a string buffer size from 4069 to 4096.
Obtained from: OpenBSD
Notes
Notes: svn path=/head/; revision=83702
Diffstat (limited to 'ftp/cftp')
-rw-r--r--ftp/cftp/Makefile2
-rw-r--r--ftp/cftp/files/patch-mkbind_c12
2 files changed, 13 insertions, 1 deletions
diff --git a/ftp/cftp/Makefile b/ftp/cftp/Makefile
index 9135cc9ad3a1..3fab844789c3 100644
--- a/ftp/cftp/Makefile
+++ b/ftp/cftp/Makefile
@@ -7,7 +7,7 @@
PORTNAME= cftp
PORTVERSION= 0.12
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= ftp ipv6
MASTER_SITES= ftp://ftp.giga.or.at/pub/nih/cftp/ \
ftp://sunsite.univie.ac.at/pub/nih/cftp/
diff --git a/ftp/cftp/files/patch-mkbind_c b/ftp/cftp/files/patch-mkbind_c
new file mode 100644
index 000000000000..94979ef9a468
--- /dev/null
+++ b/ftp/cftp/files/patch-mkbind_c
@@ -0,0 +1,12 @@
+$OpenBSD: patch-mkbind_c,v 1.1 2003/04/15 15:50:11 avsm Exp $
+--- mkbind.c.orig Tue Apr 15 16:47:09 2003
++++ mkbind.c Tue Apr 15 16:47:24 2003
+@@ -86,7 +86,7 @@ int
+ main(int argc, char **argv)
+ {
+ FILE *fin, *fout;
+- char line[4069], *p, *tok, **args;
++ char line[4096], *p, *tok, **args;
+ char tmp[128];
+ struct binding *b;
+ int i, j, off, argoff, len;