home *** CD-ROM | disk | FTP | other *** search
/ Amiga GigaPD 3 / Amiga_GigaPD_v3_3of3.iso / netbsd / contrib / bsd / term-1.1.1.patch < prev    next >
Text File  |  1993-06-25  |  3KB  |  121 lines

  1. To apply type "patch -p1 < patchfile".
  2.  
  3.  
  4. *** term-1.1.1.orig/Makefile    Sat Jan  8 06:23:18 1994
  5. --- term-1.1.1/Makefile    Thu Jan 20 12:15:55 1994
  6. ***************
  7. *** 37,43 ****
  8.   INSTPGMFLAGS = -s
  9.   MKDIR= mkdir
  10.   BINDIR=/usr/local/bin
  11. ! MANDIR=/usr/man/man1
  12.   #
  13.   # Change this if yours is different.
  14.   #
  15. --- 37,43 ----
  16.   INSTPGMFLAGS = -s
  17.   MKDIR= mkdir
  18.   BINDIR=/usr/local/bin
  19. ! MANDIR=/usr/local/man/man1
  20.   #
  21.   # Change this if yours is different.
  22.   #
  23. ***************
  24. *** 64,70 ****
  25.       @echo "Look for you operating system, ad type one of the"
  26.       @echo "following to build term for that system."
  27.       @echo
  28. !     @echo "linux aix sun sgi mips next hpux svr4 sol21"
  29.       @echo
  30.       @echo "To install type 'make DO=install <ostype>'"
  31.   
  32. --- 64,70 ----
  33.       @echo "Look for you operating system, ad type one of the"
  34.       @echo "following to build term for that system."
  35.       @echo
  36. !     @echo "netbsd linux aix sun sgi mips next hpux svr4 sol21"
  37.       @echo
  38.       @echo "To install type 'make DO=install <ostype>'"
  39.   
  40. ***************
  41. *** 73,78 ****
  42. --- 73,81 ----
  43.   
  44.   aix:
  45.       $(MAKE) OSFLAGS="-D_BSD" OSLINK="-lbsd" $(DO)
  46. + netbsd:
  47. +     $(MAKE) AR="ar rc" RANLIB=ranlib $(DO)
  48.   
  49.   sun:
  50.       $(MAKE) AR="ar rc" RANLIB=ranlib $(DO)
  51. *** term-1.1.1.orig/config.h    Thu Jan  6 05:38:45 1994
  52. --- term-1.1.1/config.h    Thu Jan 20 12:36:50 1994
  53. ***************
  54. *** 64,72 ****
  55.   #endif
  56.   
  57.   #ifndef SVR4
  58. ! #if defined(sun) || defined(convex)
  59.   #define USE_SIGWINCH
  60.   #define USE_VHANGUP
  61.   #define USE_TERMIOS
  62.   #define USE_FCNTL
  63.   #define USE_NONBLOCK
  64. --- 64,74 ----
  65.   #endif
  66.   
  67.   #ifndef SVR4
  68. ! #if defined(sun) || defined(convex) || defined(__NetBSD__)
  69.   #define USE_SIGWINCH
  70. + #ifndef amiga
  71.   #define USE_VHANGUP
  72. + #endif
  73.   #define USE_TERMIOS
  74.   #define USE_FCNTL
  75.   #define USE_NONBLOCK
  76. *** term-1.1.1.orig/includes.h    Tue Oct 26 13:22:30 1993
  77. --- term-1.1.1/includes.h    Thu Jan 20 12:21:01 1994
  78. ***************
  79. *** 52,59 ****
  80.   #ifdef I_GETOPT
  81.   #if defined(linux)
  82.   #include <getopt.h>
  83. ! #elif defined(__hpux) || defined(__386BSD__) || defined(___386BSD___) || defined(SVR4)
  84. ! #if defined(__hpux__) || defined(__hpux)  
  85.   #include <unistd.h>
  86.   extern char *optarg;
  87.   extern int optind, opterr;
  88. --- 52,59 ----
  89.   #ifdef I_GETOPT
  90.   #if defined(linux)
  91.   #include <getopt.h>
  92. ! #elif defined(__hpux) || defined(__386BSD__) || defined(___386BSD___) || defined(SVR4) || defined(__NetBSD__)
  93. ! #if defined(__hpux__) || defined(__hpux) 
  94.   #include <unistd.h>
  95.   extern char *optarg;
  96.   extern int optind, opterr;
  97. *** term-1.1.1.orig/tmon.c    Fri Feb 12 01:13:35 1993
  98. --- term-1.1.1/tmon.c    Thu Jan 20 14:48:42 1994
  99. ***************
  100. *** 23,30 ****
  101.   #include <sys/stat.h>
  102.   #include <ctype.h>
  103.   #include <signal.h>
  104. ! #if !defined(NeXT)
  105.   #  include <termio.h>
  106.   #endif
  107.   #include <memory.h>
  108.   
  109. --- 23,33 ----
  110.   #include <sys/stat.h>
  111.   #include <ctype.h>
  112.   #include <signal.h>
  113. ! #if !defined(NeXT) && !defined(__NetBSD__)
  114.   #  include <termio.h>
  115. + #endif
  116. + #if defined(__NetBSD__)
  117. + #  include <termios.h>
  118.   #endif
  119.   #include <memory.h>
  120.