summaryrefslogtreecommitdiff
path: root/devel/gdb6/patches/patch-bb
diff options
context:
space:
mode:
Diffstat (limited to 'devel/gdb6/patches/patch-bb')
-rw-r--r--devel/gdb6/patches/patch-bb14
1 files changed, 14 insertions, 0 deletions
diff --git a/devel/gdb6/patches/patch-bb b/devel/gdb6/patches/patch-bb
new file mode 100644
index 00000000000..9ce70bdc5ce
--- /dev/null
+++ b/devel/gdb6/patches/patch-bb
@@ -0,0 +1,14 @@
+$NetBSD: patch-bb,v 1.1 2005/10/20 17:48:49 wiz Exp $
+
+--- readline/rltty.c.orig 2004-06-01 09:01:39.000000000 -0600
++++ readline/rltty.c
+@@ -619,6 +619,9 @@ prepare_terminal_settings (meta_flag, ol
+ just to be sure. This includes ^Y and ^V. This should not really
+ be necessary. */
+ #if defined (TERMIOS_TTY_DRIVER) && defined (_POSIX_VDISABLE)
++#if defined (VDISCARD)
++ tiop->c_cc[VDISCARD] = _POSIX_VDISABLE;
++#endif
+
+ #if defined (VLNEXT)
+ tiop->c_cc[VLNEXT] = _POSIX_VDISABLE;