diff options
author | jlam <jlam> | 2001-11-06 22:23:49 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-11-06 22:23:49 +0000 |
commit | 380195be76647bc919742b3fe26a0b11e51e3711 (patch) | |
tree | 30e875398acf8d222b4aaf9743e7b4150eb5c3bf /comms/plptools/patches | |
parent | 2ec2b87ea6c3929af1f18ab6bb09955968b43e78 (diff) | |
download | pkgsrc-380195be76647bc919742b3fe26a0b11e51e3711.tar.gz |
Use the proper typecasts to make this compile.
Diffstat (limited to 'comms/plptools/patches')
-rw-r--r-- | comms/plptools/patches/patch-ac | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/comms/plptools/patches/patch-ac b/comms/plptools/patches/patch-ac index 5207c9430d9..5c4d049fba6 100644 --- a/comms/plptools/patches/patch-ac +++ b/comms/plptools/patches/patch-ac @@ -1,7 +1,7 @@ -$NetBSD: patch-ac,v 1.5 2001/08/24 12:52:06 hubertf Exp $ +$NetBSD: patch-ac,v 1.6 2001/11/06 22:23:50 jlam Exp $ ---- plpftp/ftp.cc.orig Mon Jan 17 12:49:41 2000 -+++ plpftp/ftp.cc Mon Aug 20 03:45:51 2001 +--- plpftp/ftp.cc.orig Mon Jan 17 06:49:41 2000 ++++ plpftp/ftp.cc @@ -34,6 +34,10 @@ #include <sys/stat.h> #include <signal.h> @@ -40,3 +40,21 @@ $NetBSD: patch-ac,v 1.5 2001/08/24 12:52:06 hubertf Exp $ strftime(dateBuff, 100, "%c", t); cout << a.opAttr(attr); cout << " " << dec << setw(10) << setfill(' ') << size; +@@ -911,7 +915,7 @@ + { + char **matches = NULL; + +- rl_completion_entry_function = (Function *)null_completion; ++ rl_completion_entry_function = (CPFunction *)null_completion; + if (start == 0) + matches = completion_matches(text, command_generator); + else { +@@ -945,7 +949,7 @@ + { + #if HAVE_LIBREADLINE + rl_readline_name = "plpftp"; +- rl_completion_entry_function = (Function *)null_completion; ++ rl_completion_entry_function = (CPFunction *)null_completion; + rl_attempted_completion_function = (CPPFunction *)do_completion; + #endif + } |