Subject: bin/43: make of crond fails after sup from 15 Dec
To: None <gnats-admin>
From: None <root@mailhost.uni-koblenz.de>
List: netbsd-bugs
Date: 12/15/1993 07:35:03
>Number:         43
>Category:       bin
>Synopsis:       make of crond fails after sup from 15 Dec
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 15 07:35:02 1993
>Originator:     Operator
>Organization:
Uwe Arndt                              | arndt@uniko.uni-koblenz.de
Universitaet Koblenz,                  |
Rechenzentrum                          | Voice: +49 261 9119-642
Rheinau 1, D-56075 Koblenz, Germany    | Fax:   +49 261 9119-499
>Release:        
>Environment:
System: NetBSD harvey.uni-koblenz.de 0.9a HARVEY#13 i386


>Description:
	can't make crond due to changes in dir.h dirent.h
>How-To-Repeat:
	cd /usr/src/libexec/crond; make
>Fix:
	patch with following lines
*** database.c.orig     Wed Dec 15 16:09:25 1993
--- database.c  Wed Dec 15 16:10:12 1993
***************
*** 25,31 ****
--- 25,36 ----
  #include <pwd.h>
  #if defined(BSD)
  # include <sys/file.h>
+ #ifdef __NetBSD__
+ # include <dirent.h>
+ #define direct dirent
+ #else
  # include <sys/dir.h>
+ #endif
  #endif
  #if defined(ATT)
  # include <sys/file.h>

>Audit-Trail:
>Unformatted:

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