Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / news / nn / patches / patch-ba
blobba7ee7a133de4cb756c50fdeeaa4c94fcdecfb0e
1 $NetBSD$
3 --- term.c.orig 2005-06-29 23:40:27.000000000 +0200
4 +++ term.c      2006-10-15 15:22:58.000000000 +0200
5 @@ -25,7 +25,7 @@
6  #include "regexp.h"
7  #include "nn_term.h"
8  
9 -#if !defined(__FreeBSD__) && !(__NetBSD__) && !defined(NeXT)
10 +#if !defined(__FreeBSD__) && !(__NetBSD__) && !defined(NeXT) && !defined(__APPLE__) && !defined(__DragonFly__)
11  #include <stropts.h>
12  #else
13  #include <sys/ioctl.h>
14 @@ -60,7 +60,7 @@
15  #else
16  #define USE_TERMCAP
18 -#if !defined(SUNOS4) && !defined(NeXT)
19 +#if !defined(SUNOS4) && !defined(NeXT) && !defined(__sgi)
20  #include <termcap.h>
21  #endif                         /* SUNOS4 */
23 @@ -74,9 +74,9 @@
25  #else
27 -#ifndef __FreeBSD__
28 +#ifndef HAVE_TERMIOS_H
29  #include <sgtty.h>
30 -#endif                         /* __FreeBSD__ */
31 +#endif                         /* HAVE_TERMIOS_H */
33  #endif
35 @@ -456,6 +456,12 @@
36  #endif                         /* FAKE_INTERRUPT */
38  static unsigned sp_table[] = {
39 +#ifdef B115200
40 +    B115200, 11520,
41 +#endif
42 +#ifdef B57600
43 +    B57600, 5760,
44 +#endif
45      B9600, 960,
47  #ifdef B19200