summaryrefslogtreecommitdiff
path: root/devel/readline/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'devel/readline/patches/patch-ad')
-rw-r--r--devel/readline/patches/patch-ad27
1 files changed, 14 insertions, 13 deletions
diff --git a/devel/readline/patches/patch-ad b/devel/readline/patches/patch-ad
index 2f879ec4f24..6d21344bf0e 100644
--- a/devel/readline/patches/patch-ad
+++ b/devel/readline/patches/patch-ad
@@ -1,17 +1,17 @@
-$NetBSD: patch-ad,v 1.3 1999/07/13 00:56:13 jlam Exp $
+$NetBSD: patch-ad,v 1.4 2000/07/19 09:31:45 jlam Exp $
---- terminal.c.orig Thu May 14 10:54:16 1998
-+++ terminal.c Tue Jul 6 05:23:35 1999
-@@ -478,7 +478,7 @@
- #if !defined (__GO32__)
+--- terminal.c.orig Mon Jan 24 10:44:28 2000
++++ terminal.c Sun Jul 16 22:34:03 2000
+@@ -500,7 +500,7 @@
+
if (term_backspace)
for (i = 0; i < count; i++)
- tputs (term_backspace, 1, _rl_output_character_function);
+ tputs (term_backspace, 1, (void *)_rl_output_character_function);
else
- #endif /* !__GO32__ */
for (i = 0; i < count; i++)
-@@ -492,7 +492,7 @@
+ putc ('\b', _rl_out_stream);
+@@ -513,7 +513,7 @@
{
#if defined (NEW_TTY_DRIVER)
if (term_cr)
@@ -20,7 +20,7 @@ $NetBSD: patch-ad,v 1.3 1999/07/13 00:56:13 jlam Exp $
#endif /* NEW_TTY_DRIVER */
putc ('\n', _rl_out_stream);
return 0;
-@@ -513,7 +513,7 @@
+@@ -533,7 +533,7 @@
case VISIBLE_BELL:
if (visible_bell)
{
@@ -29,22 +29,23 @@ $NetBSD: patch-ad,v 1.3 1999/07/13 00:56:13 jlam Exp $
break;
}
/* FALLTHROUGH */
-@@ -541,7 +541,7 @@
- _rl_enable_meta_key ()
+@@ -558,7 +558,7 @@
{
+ #if !defined (__DJGPP__)
if (term_has_meta && term_mm)
- tputs (term_mm, 1, _rl_output_character_function);
+ tputs (term_mm, 1, (void *)_rl_output_character_function);
+ #endif
}
- void
-@@ -549,7 +549,7 @@
- int on;
+@@ -568,8 +568,8 @@
{
+ #if !defined (__DJGPP__)
if (on && term_ks)
- tputs (term_ks, 1, _rl_output_character_function);
+ tputs (term_ks, 1, (void *)_rl_output_character_function);
else if (!on && term_ke)
- tputs (term_ke, 1, _rl_output_character_function);
+ tputs (term_ke, 1, (void *)_rl_output_character_function);
+ #endif
}