Subject: Re: new dt.tar.gz
To: Peter Siebold <psiebold@cymbal.aix.calpoly.edu>
From: David Carrel <carrel@cisco.com>
List: macbsd-general
Date: 07/18/1994 22:53:00
------- =_aaaaaaaaaa0
Content-Type: text/plain; charset="us-ascii"

> Quick general question.  dt with the new kernel requires bash right?  If 
> it does, where is the port to NetBSD?  Bash 1.14 does not compile.  Is 
> there a way to make the dt uses csh instead of bash.

The following patch will make bash-1.14.1 compile on the hp300 and should
get it working on ANY m68k flavor of NetBSD.  (I sent this in recently to
bash-bugs.)  This took very little on my part.

Dave


------- =_aaaaaaaaaa0
Content-Type: text/plain; charset="us-ascii"
Content-Description: bash patch

*** machines.h.orig	Fri Jul  1 08:20:50 1994
--- machines.h	Sat Jul 16 16:19:52 1994
***************
*** 967,972 ****
--- 967,992 ----
  
  /* ************************ */
  /*			    */
+ /*     m68k __NetBSD__     */
+ /*			    */
+ /* ************************ */
+ #if defined (m68k) && defined (__NetBSD__)
+ #  include <machine/param.h>
+ #  define M_MACHINE MACHINE
+ #  define M_OS "NetBSD"
+ #  define SYSDEP_CFLAGS -DOPENDIR_NOT_ROBUST -DINT_GROUPS_ARRAY
+ #  define HAVE_SYS_SIGLIST
+ #  define HAVE_SETLINEBUF
+ #  define HAVE_GETGROUPS
+ #  define HAVE_VFPRINTF
+ #  define HAVE_STRERROR
+ #  define VOID_SIGHANDLER
+ #  define HAVE_DIRENT
+ #  define HAVE_STRCASECMP
+ #endif /* hp300 && __NetBSD__ */
+ 
+ /* ************************ */
+ /*			    */
  /*	hp9000 4.4 BSD	    */
  /*			    */
  /* ************************ */

------- =_aaaaaaaaaa0--

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