NetBSD Problem Report #43
From gnats Wed Dec 15 07:22:17 1993
Received: from mailhost.uni-koblenz.de (mailhost.uni-koblenz.de [141.26.4.3]) by sun-lamp.cs.berkeley.edu (8.6.4/8.6.4) with SMTP id HAA01222 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Wed, 15 Dec 1993 07:22:09 -0800
Message-Id: <m0p9y31-0001TyC@mailhost.uni-koblenz.de>
Date: Wed, 15 Dec 1993 16:22:16 +0100
From: root@mailhost.uni-koblenz.de
Reply-To: arndt@mailhost.uni-koblenz.de
To: gnats-bugs@sun-lamp.cs.berkeley.edu
Subject: make of crond fails after sup from 15 Dec
X-Send-Pr-Version: 3.01.6
>Number: 43
>Category: bin
>Synopsis: make of crond fails after sup from 15 Dec
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: gnats-admin
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Dec 15 07:35:02 +0000 1993
>Closed-Date: Thu Dec 16 10:11:35 +0000 1993
>Last-Modified:
>Originator: Operator
>Release:
>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
>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>
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback
State-Changed-By: jtc
State-Changed-When: Wed Dec 15 09:05:03 1993
State-Changed-Why:
Updated to use <dirent.h> on NetBSD.
State-Changed-From-To: feedback->closed
State-Changed-By: jtc
State-Changed-When: Thu Dec 16 10:11:35 1993
State-Changed-Why:
Received confirmation that fix worked.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.