summaryrefslogtreecommitdiff
path: root/net/ncftp2/patches
diff options
context:
space:
mode:
authorjlam <jlam>1999-07-13 01:34:40 +0000
committerjlam <jlam>1999-07-13 01:34:40 +0000
commit966ca7e297776ef769807e08200a1274fbb81296 (patch)
tree82b2d95e208c7b7bcb87e9ba5d48b295d8f8e809 /net/ncftp2/patches
parente0acb144b2e8f268b38257e283fc5991609ea1d0 (diff)
downloadpkgsrc-966ca7e297776ef769807e08200a1274fbb81296.tar.gz
* Use libedit's readline wrapper instead of readline when possible.
* Update readline dependency.
Diffstat (limited to 'net/ncftp2/patches')
-rw-r--r--net/ncftp2/patches/patch-ab20
-rw-r--r--net/ncftp2/patches/patch-ac38
-rw-r--r--net/ncftp2/patches/patch-ad20
3 files changed, 54 insertions, 24 deletions
diff --git a/net/ncftp2/patches/patch-ab b/net/ncftp2/patches/patch-ab
index 3f6e086af18..f2f8f43df70 100644
--- a/net/ncftp2/patches/patch-ab
+++ b/net/ncftp2/patches/patch-ab
@@ -1,8 +1,20 @@
-$NetBSD: patch-ab,v 1.3 1998/08/07 11:10:48 agc Exp $
+$NetBSD: patch-ab,v 1.4 1999/07/13 01:34:42 jlam Exp $
---- Complete.c.orig Fri Oct 18 07:10:31 1996
-+++ Complete.c Fri Feb 20 14:47:06 1998
-@@ -241,7 +241,11 @@
+--- Complete.c.orig Fri Oct 18 01:10:31 1996
++++ Complete.c Thu Jul 8 15:33:42 1999
+@@ -52,7 +52,11 @@
+ typedef char * (*CompleteFunc)(char *, int);
+
+ #ifdef HAVE_LIBREADLINE
++#if HAVE_READLINE_H
++#include <readline.h>
++#else
+ #include <readline/readline.h>
++#endif
+
+ #ifdef HAVE_FILENAME_COMPLETION_FUNCTION
+ /* This should have been in your readline.h already, but some older
+@@ -241,7 +245,11 @@
static int
CompareStrings(char **a, char **b)
{
diff --git a/net/ncftp2/patches/patch-ac b/net/ncftp2/patches/patch-ac
index 5905e358c36..e50c232cc18 100644
--- a/net/ncftp2/patches/patch-ac
+++ b/net/ncftp2/patches/patch-ac
@@ -1,17 +1,24 @@
-$NetBSD: patch-ac,v 1.4 1999/05/22 22:32:04 tron Exp $
+$NetBSD: patch-ac,v 1.5 1999/07/13 01:34:42 jlam Exp $
---- configure.orig Sun Jun 8 07:25:04 1997
-+++ configure Sun May 23 00:25:56 1999
-@@ -1072,7 +1072,7 @@
+--- configure.orig Sun Jun 8 01:25:04 1997
++++ configure Wed Jul 7 00:05:26 1999
+@@ -1069,6 +1069,7 @@
+
+
+ # See if we should add -I/usr/local/include -L/usr/local/lib, etc.
++if test "$nc_cv_extra_dirs" = yes ; then
echo "checking for extra include and lib directories..." 1>&6
b1=`cd .. ; pwd`
b2=`cd ../.. ; pwd`
--exdirs="$HOME $j $b1 $b2 $prefix /usr/local /usr/ccs"
-+exdirs="$HOME $j $b1 $b2 $prefix"
+@@ -1128,6 +1129,7 @@
+ fi
+ done
+ done
++fi
+
- subexdirs="-"
- if test "$subexdirs" = "" ; then
-@@ -1766,7 +1766,7 @@
+ # Look for SunOS' /usr/5lib and 5include directories, because
+@@ -1766,7 +1768,7 @@
echo "$ac_t""no" 1>&6
fi
@@ -20,16 +27,7 @@ $NetBSD: patch-ac,v 1.4 1999/05/22 22:32:04 tron Exp $
nc_cv_socks=no
else
LIBS="$savelibs"
-@@ -2285,7 +2285,7 @@
- echo "checking for extra include and lib directories..." 1>&6
- b1=`cd .. ; pwd`
- b2=`cd ../.. ; pwd`
--exdirs="$HOME $j $b1 $b2 $prefix /usr/local /usr /usr/ccs"
-+exdirs="$HOME $j $b1 $b2 $prefix"
-
- subexdirs="ncurses"
- if test "$subexdirs" = "" ; then
-@@ -2345,7 +2345,7 @@
+@@ -2345,7 +2347,7 @@
# See if we should add -I/usr/local/ncurses
@@ -38,7 +36,7 @@ $NetBSD: patch-ac,v 1.4 1999/05/22 22:32:04 tron Exp $
if test -r $incdir ; then
case "$CPPFLAGS" in
*${incdir}*)
-@@ -2366,7 +2366,7 @@
+@@ -2366,7 +2368,7 @@
# Some people (me) have two versions of ncurses on
# the system. Use the one in /usr/local first.
case "$CPPFLAGS" in
diff --git a/net/ncftp2/patches/patch-ad b/net/ncftp2/patches/patch-ad
new file mode 100644
index 00000000000..e9373d249fa
--- /dev/null
+++ b/net/ncftp2/patches/patch-ad
@@ -0,0 +1,20 @@
+$NetBSD: patch-ad,v 1.1 1999/07/13 01:34:42 jlam Exp $
+
+--- LGets.c.orig Fri Apr 7 23:28:00 1995
++++ LGets.c Thu Jul 8 15:38:00 1999
+@@ -5,11 +5,15 @@
+ #include "LGets.h"
+
+ #ifdef HAVE_LIBREADLINE
++#if HAVE_HISTORY_H
++# include <history.h>
++#else
+ # include <readline/readline.h>
+ # ifdef HAVE_READLINE_HISTORY_H
+ /* Required for version 2.0 of readline. */
+ # include <readline/history.h>
+ # endif
++#endif
+ #endif /* HAVE_LIBREADLINE */
+
+ #ifdef HAVE_LIBGETLINE