Subject: bin/44: badsect does not build after sup of Dec 15
To: None <gnats-admin>
From: None <root@mailhost.uni-koblenz.de>
List: netbsd-bugs
Date: 12/15/1993 07:35:04
>Number:         44
>Category:       bin
>Synopsis:       badsect does not build after sup of Dec 15
>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:03 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 badsect
>How-To-Repeat:
	cd /usr/src/sbin/badsect;make
>Fix:
	patch with following lines
*** badsect.c.orig      Wed Dec 15 16:25:32 1993
--- badsect.c   Wed Dec 15 16:26:12 1993
***************
*** 53,59 ****
   * does not support bad block forwarding.
   */
  #include <sys/param.h>
! #include <sys/dir.h>
  #include <sys/stat.h>
  #include <ufs/fs.h>
  #include <ufs/dinode.h>
--- 53,60 ----
   * does not support bad block forwarding.
   */
  #include <sys/param.h>
! #include <dirent.h>
! #define direct dirent
  #include <sys/stat.h>
  #include <ufs/fs.h>
  #include <ufs/dinode.h>

>Audit-Trail:
>Unformatted:

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