Import of pkgsrc-2016Q3

This commit is contained in:
2016-10-14 07:49:11 +02:00
committed by Lionel Sambuc
parent 9d819b6d54
commit 1242aa1e36
35952 changed files with 949749 additions and 377083 deletions

View File

@@ -0,0 +1,16 @@
$NetBSD: patch-source_term.c,v 1.1 2015/11/07 21:16:36 dholland Exp $
- Don't use <sgtty.h> on modern BSD.
--- source/term.c~ 1999-07-26 06:54:34.000000000 +0000
+++ source/term.c
@@ -101,7 +101,8 @@ static char rcsid[] = "@(#)$Id: term.c,v
* i hope other systems based on this don't change it (netbsd,
* bsdi, freebsd ..)
*/
-#ifdef BSD4_4
+#if defined(BSD4_4) || defined(__NetBSD__) || defined(__FreeBSD__) || \
+ defined(__DragonFly__) || defined(__OpenBSD__) || defined(__Bitrig__)
# include <termios.h>
# define termio termios
# define USE_TERMIO