summaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2003-07-23 18:11:10 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2003-07-23 18:11:10 +0000
commit73dd8639068ae7493e9026c2411e13ff30ed6720 (patch)
tree14257bbba227021f3dec21117dce2b6923ba9339 /ftp
parentInstall shared library. (diff)
Assign MAINTAINER to Serge Gagnon <gagnon__s@videotron.ca>
fix lex.c add a missed dependency PR: ports/50967 Submitted by: Serge Gagnon <gagnon__s@videotron.ca>
Notes
Notes: svn path=/head/; revision=85480
Diffstat (limited to 'ftp')
-rw-r--r--ftp/ftptool/Makefile3
-rw-r--r--ftp/ftptool/files/lex.c5
-rw-r--r--ftp/ftptool/files/patch-ac11
3 files changed, 16 insertions, 3 deletions
diff --git a/ftp/ftptool/Makefile b/ftp/ftptool/Makefile
index c3f7cb7eb645..6586bdbf48a3 100644
--- a/ftp/ftptool/Makefile
+++ b/ftp/ftptool/Makefile
@@ -13,10 +13,11 @@ MASTER_SITES= ${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR= utilities
DISTFILES= Ftptool${PORTVERSION}.tar.gz
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= gagnon__s@videotron.ca
COMMENT= Graphic ftp shell based on xview
LIB_DEPENDS= xview.3:${PORTSDIR}/x11-toolkits/xview
+RUN_DEPENDS= ${X11BASE}/bin/textedit:${PORTSDIR}/editors/textedit
USE_IMAKE= yes
WRKSRC= ${WRKDIR}/Ftptool4.6
diff --git a/ftp/ftptool/files/lex.c b/ftp/ftptool/files/lex.c
index 86c1126b57a6..76dfd4ba0912 100644
--- a/ftp/ftptool/files/lex.c
+++ b/ftp/ftptool/files/lex.c
@@ -1,4 +1,5 @@
-# include "stdio.h"
+# include <stdio.h>
+# include <unistd.h>
# define U(x) x
# define NLSTATE yyprevious=YYNEWLINE
# define BEGIN yybgin = yysvec + 1 +
@@ -17,7 +18,7 @@ int yyleng; extern char yytext[];
int yymorfg;
extern char *yysptr, yysbuf[];
int yytchar;
-FILE *yyin = {stdin}, *yyout = {stdout};
+FILE *yyin = STDIN_FILENO, *yyout = STDOUT_FILENO;
extern int yylineno;
struct yysvf {
struct yywork *yystoff;
diff --git a/ftp/ftptool/files/patch-ac b/ftp/ftptool/files/patch-ac
new file mode 100644
index 000000000000..a5d8ed08d86b
--- /dev/null
+++ b/ftp/ftptool/files/patch-ac
@@ -0,0 +1,11 @@
+--- create_other.c.orig Mon Aug 29 05:05:43 1994
++++ create_other.c Wed Jul 23 19:19:05 2003
+@@ -1517,7 +1517,7 @@
+ PANEL_VALUE_DISPLAY_LENGTH, 4,
+ PANEL_VALUE_STORED_LENGTH, 40,
+ PANEL_MIN_VALUE, 1992,
+- PANEL_MAX_VALUE, 2000,
++ PANEL_MAX_VALUE, 2999,
+ PANEL_ITEM_X, xv_get(schedule_window.day, XV_X)
+ + xv_get(schedule_window.day, XV_WIDTH)
+ + xv_col(schedule_window.panel, 1),