summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-11-06 22:23:49 +0000
committerjlam <jlam@pkgsrc.org>2001-11-06 22:23:49 +0000
commit3db03d6bef40452dcfd72c464cbc7e990a93cbdf (patch)
tree30e875398acf8d222b4aaf9743e7b4150eb5c3bf /comms
parentcbf7d8cfd3b4ed98ce09f74799467af972f94742 (diff)
downloadpkgsrc-3db03d6bef40452dcfd72c464cbc7e990a93cbdf.tar.gz
Use the proper typecasts to make this compile.
Diffstat (limited to 'comms')
-rw-r--r--comms/plptools/Makefile12
-rw-r--r--comms/plptools/distinfo4
-rw-r--r--comms/plptools/patches/patch-ac24
3 files changed, 28 insertions, 12 deletions
diff --git a/comms/plptools/Makefile b/comms/plptools/Makefile
index bba8eaad09c..c9bed4169df 100644
--- a/comms/plptools/Makefile
+++ b/comms/plptools/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2001/06/20 23:37:36 jlam Exp $
+# $NetBSD: Makefile,v 1.19 2001/11/06 22:23:49 jlam Exp $
#
DISTNAME= plptools-0.6
@@ -10,16 +10,14 @@ MAINTAINER= sakamoto@netbsd.org
COMMENT= FTP-like and NFS-like access tools to talk to the PSION
USE_BUILDLINK_ONLY= YES
-GNU_CONFIGURE= YES
-USE_LIBTOOL= YES
-LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
-
USE_GNU_READLINE= # uses rl_filename_quoting_desired flag
-.include "../../mk/bsd.prefs.mk"
-.include "../../devel/readline/buildlink.mk"
+USE_LIBTOOL= YES
+LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
+GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --with-serial=${DEFAULT_SERIAL_DEVICE}
LIBS+= -ltermcap
+.include "../../devel/readline/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/comms/plptools/distinfo b/comms/plptools/distinfo
index 70705c5e27e..69042be0b95 100644
--- a/comms/plptools/distinfo
+++ b/comms/plptools/distinfo
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.4 2001/08/24 12:52:06 hubertf Exp $
+$NetBSD: distinfo,v 1.5 2001/11/06 22:23:49 jlam Exp $
SHA1 (plptools-0.6.tar.gz) = 99280368116018a10469ea7e1b86985cf551eae5
Size (plptools-0.6.tar.gz) = 197770 bytes
SHA1 (patch-aa) = cfb95f4970b6e7c8d17bc79250f4500ee0da3963
SHA1 (patch-ab) = 00fee9bb2eebf357b171ac640163a943485f482f
-SHA1 (patch-ac) = dfd7d48975c518076f978e76d76dc6e665d27677
+SHA1 (patch-ac) = abfbc62ffa4fe17fbab470f0bd5cb10211f91a77
SHA1 (patch-ad) = de550f23304b6205f0d4a6b40cc32307c41a509f
SHA1 (patch-ae) = 46b1d9714397c7b9d6b3fb5d053cda44fc5f10fd
SHA1 (patch-af) = 41f937ef89ba41d79b531ffc57fd77dee0608a93
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
+ }