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 >
Wrap
Text File
|
1993-06-25
|
3KB
|
121 lines
To apply type "patch -p1 < patchfile".
*** term-1.1.1.orig/Makefile Sat Jan 8 06:23:18 1994
--- term-1.1.1/Makefile Thu Jan 20 12:15:55 1994
***************
*** 37,43 ****
INSTPGMFLAGS = -s
MKDIR= mkdir
BINDIR=/usr/local/bin
! MANDIR=/usr/man/man1
#
# Change this if yours is different.
#
--- 37,43 ----
INSTPGMFLAGS = -s
MKDIR= mkdir
BINDIR=/usr/local/bin
! MANDIR=/usr/local/man/man1
#
# Change this if yours is different.
#
***************
*** 64,70 ****
@echo "Look for you operating system, ad type one of the"
@echo "following to build term for that system."
@echo
! @echo "linux aix sun sgi mips next hpux svr4 sol21"
@echo
@echo "To install type 'make DO=install <ostype>'"
--- 64,70 ----
@echo "Look for you operating system, ad type one of the"
@echo "following to build term for that system."
@echo
! @echo "netbsd linux aix sun sgi mips next hpux svr4 sol21"
@echo
@echo "To install type 'make DO=install <ostype>'"
***************
*** 73,78 ****
--- 73,81 ----
aix:
$(MAKE) OSFLAGS="-D_BSD" OSLINK="-lbsd" $(DO)
+
+ netbsd:
+ $(MAKE) AR="ar rc" RANLIB=ranlib $(DO)
sun:
$(MAKE) AR="ar rc" RANLIB=ranlib $(DO)
*** term-1.1.1.orig/config.h Thu Jan 6 05:38:45 1994
--- term-1.1.1/config.h Thu Jan 20 12:36:50 1994
***************
*** 64,72 ****
#endif
#ifndef SVR4
! #if defined(sun) || defined(convex)
#define USE_SIGWINCH
#define USE_VHANGUP
#define USE_TERMIOS
#define USE_FCNTL
#define USE_NONBLOCK
--- 64,74 ----
#endif
#ifndef SVR4
! #if defined(sun) || defined(convex) || defined(__NetBSD__)
#define USE_SIGWINCH
+ #ifndef amiga
#define USE_VHANGUP
+ #endif
#define USE_TERMIOS
#define USE_FCNTL
#define USE_NONBLOCK
*** term-1.1.1.orig/includes.h Tue Oct 26 13:22:30 1993
--- term-1.1.1/includes.h Thu Jan 20 12:21:01 1994
***************
*** 52,59 ****
#ifdef I_GETOPT
#if defined(linux)
#include <getopt.h>
! #elif defined(__hpux) || defined(__386BSD__) || defined(___386BSD___) || defined(SVR4)
! #if defined(__hpux__) || defined(__hpux)
#include <unistd.h>
extern char *optarg;
extern int optind, opterr;
--- 52,59 ----
#ifdef I_GETOPT
#if defined(linux)
#include <getopt.h>
! #elif defined(__hpux) || defined(__386BSD__) || defined(___386BSD___) || defined(SVR4) || defined(__NetBSD__)
! #if defined(__hpux__) || defined(__hpux)
#include <unistd.h>
extern char *optarg;
extern int optind, opterr;
*** term-1.1.1.orig/tmon.c Fri Feb 12 01:13:35 1993
--- term-1.1.1/tmon.c Thu Jan 20 14:48:42 1994
***************
*** 23,30 ****
#include <sys/stat.h>
#include <ctype.h>
#include <signal.h>
! #if !defined(NeXT)
# include <termio.h>
#endif
#include <memory.h>
--- 23,33 ----
#include <sys/stat.h>
#include <ctype.h>
#include <signal.h>
! #if !defined(NeXT) && !defined(__NetBSD__)
# include <termio.h>
+ #endif
+ #if defined(__NetBSD__)
+ # include <termios.h>
#endif
#include <memory.h>