aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/ftptool
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2003-07-24 02:11:10 +0800
committeroliver <oliver@FreeBSD.org>2003-07-24 02:11:10 +0800
commit6366ae8f6cdde2ea6786b66c3e818136fc950c7f (patch)
treeaec55b37cf9f9838c4dc215f233439f23ef238a2 /ftp/ftptool
parent85d93c70f6888c1e5e0f24894cd3a65e435ba2b0 (diff)
downloadfreebsd-ports-graphics-6366ae8f6cdde2ea6786b66c3e818136fc950c7f.tar.gz
freebsd-ports-graphics-6366ae8f6cdde2ea6786b66c3e818136fc950c7f.tar.zst
freebsd-ports-graphics-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/ftptool')
-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 c3f7cb7eb64..6586bdbf48a 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 86c1126b57a..76dfd4ba091 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 00000000000..a5d8ed08d86
--- /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),