pkgsrc/devel/gps/patches/patch-common_tty_terminals.c
marino 8063bf6f75 devel/gps: Upgrade GNAT Programming Studio to version 5.2.1
This is a significant upgrade over version 5.0.1 which is currently in
pkgsrc, representing approximately two years of work.  The latest online
documentation can be browsed here:

   http://docs.adacore.com/gps-docs/users_guide/_build/html/

Changes to the package itself include:
* python now works and is a default option
* readline support is now an option and is default
* Multiple job support enable
* Documentation now generated by sphinx

Also the problem described in PR#47824 no longer occurs, so this PR will
be closed.
2013-07-09 10:16:02 +00:00

16 lines
397 B
C

$NetBSD: patch-common_tty_terminals.c,v 1.1 2013/07/09 10:16:02 marino Exp $
Do not redefine TABDLY
--- common/tty/terminals.c.orig 2011-09-21 06:29:53.000000000 +0000
+++ common/tty/terminals.c
@@ -236,7 +236,9 @@ allocate_pty_desc (pty_desc **desc) {
#ifndef NLDLY
#define NLDLY 0
#define CRDLY 0
+#ifndef TABDLY
#define TABDLY 0
+#endif
#define BSDLY 0
#define VTDLY 0
#define FFDLY 0