diff options
author | oliver <oliver@FreeBSD.org> | 2003-07-24 02:11:10 +0800 |
---|---|---|
committer | oliver <oliver@FreeBSD.org> | 2003-07-24 02:11:10 +0800 |
commit | 6366ae8f6cdde2ea6786b66c3e818136fc950c7f (patch) | |
tree | aec55b37cf9f9838c4dc215f233439f23ef238a2 /ftp | |
parent | 85d93c70f6888c1e5e0f24894cd3a65e435ba2b0 (diff) | |
download | freebsd-ports-gnome-6366ae8f6cdde2ea6786b66c3e818136fc950c7f.tar.gz freebsd-ports-gnome-6366ae8f6cdde2ea6786b66c3e818136fc950c7f.tar.zst freebsd-ports-gnome-6366ae8f6cdde2ea6786b66c3e818136fc950c7f.zip |
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>
Diffstat (limited to 'ftp')
-rw-r--r-- | ftp/ftptool/Makefile | 3 | ||||
-rw-r--r-- | ftp/ftptool/files/lex.c | 5 | ||||
-rw-r--r-- | ftp/ftptool/files/patch-ac | 11 |
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), |