summaryrefslogtreecommitdiff
path: root/net/ncftp2/patches/patch-ad
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>1999-07-13 01:34:40 +0000
committerjlam <jlam@pkgsrc.org>1999-07-13 01:34:40 +0000
commit9fb419da79518f01e11dbe18e56b23fc6d319c09 (patch)
tree82b2d95e208c7b7bcb87e9ba5d48b295d8f8e809 /net/ncftp2/patches/patch-ad
parent53124dc32ad979c1c312453780f25a6ca343d1fa (diff)
downloadpkgsrc-9fb419da79518f01e11dbe18e56b23fc6d319c09.tar.gz
* Use libedit's readline wrapper instead of readline when possible.
* Update readline dependency.
Diffstat (limited to 'net/ncftp2/patches/patch-ad')
-rw-r--r--net/ncftp2/patches/patch-ad20
1 files changed, 20 insertions, 0 deletions
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