head 1.6; access; symbols pkgsrc-2013Q2:1.6.0.28 pkgsrc-2013Q2-base:1.6 pkgsrc-2012Q4:1.6.0.26 pkgsrc-2012Q4-base:1.6 pkgsrc-2011Q4:1.6.0.24 pkgsrc-2011Q4-base:1.6 pkgsrc-2011Q2:1.6.0.22 pkgsrc-2011Q2-base:1.6 pkgsrc-2009Q4:1.6.0.20 pkgsrc-2009Q4-base:1.6 pkgsrc-2008Q4:1.6.0.18 pkgsrc-2008Q4-base:1.6 pkgsrc-2008Q3:1.6.0.16 pkgsrc-2008Q3-base:1.6 cube-native-xorg:1.6.0.14 cube-native-xorg-base:1.6 pkgsrc-2008Q2:1.6.0.12 pkgsrc-2008Q2-base:1.6 pkgsrc-2008Q1:1.6.0.10 pkgsrc-2008Q1-base:1.6 pkgsrc-2007Q4:1.6.0.8 pkgsrc-2007Q4-base:1.6 pkgsrc-2007Q3:1.6.0.6 pkgsrc-2007Q3-base:1.6 pkgsrc-2007Q2:1.6.0.4 pkgsrc-2007Q2-base:1.6 pkgsrc-2007Q1:1.6.0.2 pkgsrc-2007Q1-base:1.6 pkgsrc-2006Q4:1.5.0.34 pkgsrc-2006Q4-base:1.5 pkgsrc-2006Q3:1.5.0.32 pkgsrc-2006Q3-base:1.5 pkgsrc-2006Q2:1.5.0.30 pkgsrc-2006Q2-base:1.5 pkgsrc-2006Q1:1.5.0.28 pkgsrc-2006Q1-base:1.5 pkgsrc-2005Q4:1.5.0.26 pkgsrc-2005Q4-base:1.5 pkgsrc-2005Q3:1.5.0.24 pkgsrc-2005Q3-base:1.5 pkgsrc-2005Q2:1.5.0.22 pkgsrc-2005Q2-base:1.5 pkgsrc-2005Q1:1.5.0.20 pkgsrc-2005Q1-base:1.5 pkgsrc-2004Q4:1.5.0.18 pkgsrc-2004Q4-base:1.5 pkgsrc-2004Q3:1.5.0.16 pkgsrc-2004Q3-base:1.5 pkgsrc-2004Q2:1.5.0.14 pkgsrc-2004Q2-base:1.5 pkgsrc-2004Q1:1.5.0.12 pkgsrc-2004Q1-base:1.5 pkgsrc-2003Q4:1.5.0.10 pkgsrc-2003Q4-base:1.5 netbsd-1-6-1:1.5.0.6 netbsd-1-6-1-base:1.5 netbsd-1-6:1.5.0.8 netbsd-1-6-RELEASE-base:1.5 pkgviews:1.5.0.4 pkgviews-base:1.5 buildlink2:1.5.0.2 buildlink2-base:1.5 netbsd-1-5-PATCH003:1.5 netbsd-1-5-PATCH001:1.4 netbsd-1-5-RELEASE:1.4 netbsd-1-4-PATCH003:1.4 netbsd-1-4-PATCH002:1.4 comdex-fall-1999:1.4 netbsd-1-4-PATCH001:1.4 netbsd-1-4-RELEASE:1.3 netbsd-1-3-PATCH003:1.3 netbsd-1-3-PATCH002:1.2 FreeBSD-current-1998-02-20:1.1.1.1 FREEBSD:1.1.1; locks; strict; comment @# @; 1.6 date 2007.04.01.21.20.00; author wiz; state dead; branches; next 1.5; 1.5 date 2001.05.16.20.27.23; author jlam; state Exp; branches; next 1.4; 1.4 date 99.07.13.01.34.42; author jlam; state Exp; branches; next 1.3; 1.3 date 98.08.07.11.10.48; author agc; state Exp; branches; next 1.2; 1.2 date 98.02.20.14.28.47; author tron; state Exp; branches; next 1.1; 1.1 date 98.02.20.13.08.31; author tron; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 98.02.20.13.08.31; author tron; state Exp; branches; next ; desc @@ 1.6 log @Remove net/ncftp2 -- old version of net/ncftp3. No disagreement on pkgsrc-users. @ text @$NetBSD: patch-ab,v 1.5 2001/05/16 20:27:23 jlam Exp $ --- Complete.c.orig Fri Oct 18 01:10:31 1996 +++ Complete.c Thu Jul 8 15:33:42 1999 @@@@ -241,7 +241,11 @@@@ static int CompareStrings(char **a, char **b) { +#if defined(__FreeBSD__) || defined(__NetBSD__) + return strcoll(*a, *b); +#else return strcmp(*a, *b); +#endif } static void @ 1.5 log @Use devel/readline/Makefile.readline to get readline support on systems without libedit readline emulation. Don't accidentally link against ncurses. The ncurses dependency was removed a while back, but I'm not entirely sure that was correct. I don't think the curses library is enough to get this package to work on pre-1.5 NetBSD systems. I also don't know if this will work with Solaris curses either. We'll have to wait for bug reports. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.4 1999/07/13 01:34:42 jlam Exp $ @ 1.4 log @ * Use libedit's readline wrapper instead of readline when possible. * Update readline dependency. @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 13 @@@@ -52,7 +52,11 @@@@ typedef char * (*CompleteFunc)(char *, int); #ifdef HAVE_LIBREADLINE +#if HAVE_READLINE_H +#include +#else #include +#endif #ifdef HAVE_FILENAME_COMPLETION_FUNCTION /* This should have been in your readline.h already, but some older @@@@ -241,7 +245,11 @@@@ @ 1.3 log @Add NetBSD RCS Ids. @ text @d3 15 a17 3 --- Complete.c.orig Fri Oct 18 07:10:31 1996 +++ Complete.c Fri Feb 20 14:47:06 1998 @@@@ -241,7 +241,11 @@@@ @ 1.2 log @Make this package work under NetBSD. @ text @d1 2 @ 1.1 log @Initial revision @ text @d1 14 a14 42 *** Complete.c.bak Fri Oct 18 09:10:31 1996 --- Complete.c Thu Jan 9 15:17:48 1997 *************** *** 241,247 **** --- 241,251 ---- static int CompareStrings(char **a, char **b) { + #ifdef __FreeBSD__ + return strcoll(*a, *b); + #else return strcmp(*a, *b); + #endif } static void *** Main.c.bak Fri Oct 18 09:01:58 1996 --- Main.c Thu Jan 9 15:24:22 1997 *************** *** 22,27 **** --- 22,30 ---- #include #include #include + #ifdef __FreeBSD__ + #include + #endif #include #include #include *************** *** 866,871 **** --- 869,877 ---- int opt, result; OpenOptions openopt; + #ifdef __FreeBSD__ + setlocale(LC_ALL, ""); + #endif Init(); RunStartupScript(); @ 1.1.1.1 log @Initial import of FreeBSD's "ncftp2" port. @ text @@