Subject: Diffs to bash-1.13.5 for NetBSD-current
To: None <bash-maintainers@ai.mit.edu, current-users@sun-lamp.cs.berkeley.edu>
From: Adrian Hall <adrian@lemmings.cursci.com>
List: current-users
Date: 01/07/1994 10:41:09
The following file is a diff to the bash-1.13.5 standard distribution to
make it work on NetBSD as of the 1-JAN-1994 compile.

Regards,

Adrian Hall

diff -c bash-1.13.5/machines.h bash-1.13.5.new/machines.h
*** bash-1.13.5/machines.h	Mon Dec 13 16:36:26 1993
--- bash-1.13.5.new/machines.h	Fri Jan  7 10:03:26 1994
***************
*** 606,611 ****
--- 606,626 ----
  #    define HAVE_DIRENT
  #  endif /* !done386 && __386BSD__ */
  
+ /* NetBSD-current */
+ #  if !defined (done386) && defined (__NetBSD__)
+ #    define done386
+ #    define M_MACHINE "i386"
+ #    define M_OS "_NETBSD"
+ #    define HAVE_SYS_SIGLIST
+ #    define HAVE_SETLINEBUF
+ #    define HAVE_GETGROUPS
+ #    define HAVE_VFPRINTF
+ #    define HAVE_STRERROR
+ #    define VOID_SIGHANDLER
+ #    define HAVE_DIRENT
+ #    define USE_GNU_MALLOC
+ #  endif /* !done386 && __NetBSD__ */
+ 
  #  if !defined (done386) && (defined (__linux__) || defined (linux))
  #    define done386
  #    define M_MACHINE "i386"
diff -c bash-1.13.5/siglist.h bash-1.13.5.new/siglist.h
*** bash-1.13.5/siglist.h	Thu Nov  4 11:00:37 1993
--- bash-1.13.5.new/siglist.h	Fri Jan  7 09:54:51 1994
***************
*** 8,14 ****
  #  endif /* !sys_siglist */
  #endif /* Solaris || USGr4_2 */
  
! #if !defined (Solaris) && !defined (Linux) && !defined (__BSD_4_4__)
  extern char *sys_siglist[];
  #endif /* !Solaris */
  
--- 8,14 ----
  #  endif /* !sys_siglist */
  #endif /* Solaris || USGr4_2 */
  
! #if !defined (Solaris) && !defined (Linux) && !defined (__BSD_4_4__) && !defined(__NetBSD__)
  extern char *sys_siglist[];
  #endif /* !Solaris */
  

------------------------------------------------------------------------------