ports/devel/gps/files/patch-common-tty-terminals.c
Frederic Culot fe6b01bc3f - Update to 5.0.1
PR:		ports/161442
Submitted by:	John Marino <draco@marino.st> (maintainer)
Feature safe:	yes
2011-11-15 13:35:48 +00:00

24 lines
635 B
C

--- common/tty/terminals.c.orig 2009-09-30 11:30:08.000000000 +0200
+++ common/tty/terminals.c 2011-10-09 02:58:53.000000000 +0200
@@ -31,7 +31,10 @@
#ifndef WIN32
/* First defined some macro to identify easily some systems */
-#if defined (__FreeBSD__) || defined (__NetBSD__)
+#if defined (__FreeBSD__) \
+ || defined (__OpenBSD__) \
+ || defined (__NetBSD__) \
+ || defined (__DragonFly__)
# define FREEBSD
#endif
#if defined (__alpha__) && defined (__osf__)
@@ -260,7 +263,9 @@
#ifndef NLDLY
#define NLDLY 0
#define CRDLY 0
+#ifndef TABDLY
#define TABDLY 0
+#endif
#define BSDLY 0
#define VTDLY 0
#define FFDLY 0