Subject: bin/6963: bin/pax doesn't compile
To: None <gnats-bugs@gnats.netbsd.org>
From: Wolfgang Helbig <helbig@Informatik.BA-Stuttgart.DE>
List: netbsd-bugs
Date: 02/08/1999 01:56:48
>Number:         6963
>Category:       bin
>Synopsis:       bin/pax doesn't compile
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb  7 17:05:00 1999
>Last-Modified:
>Originator:     Wolfgang Helbig
>Organization:
	
>Release:        NetBSD-current Sun Feb  7 16:21:32 UTC 1999
>Environment:
	
System: NetBSD rvc1 1.3I NetBSD 1.3I (RVC1) #6: Mon Feb 8 01:35:24 CET 1999 helbig@rvc1:/usr/src/sys/arch/i386/compile/RVC1 i386


>Description:
	Trying to "make build" fails in the bin/pax directory.
	
>How-To-Repeat:
	sup the sources from Feb 7 and try to compile bin/pax
>Fix:
A patch to bin/pax/extern.h solves the problem (opt_add's
declarations in extern.h and options.c don't match)
--- extern.h.orig	Thu Jan 21 13:05:05 1999
+++ extern.h	Mon Feb  8 00:53:20 1999
@@ -179,7 +179,7 @@
 extern char *chdir_dir;
 void options __P((int, char **));
 OPLIST * opt_next __P((void));
-int opt_add __P((char *));
+int opt_add __P((const char *));
 int bad_opt __P((void));
 
 /*
>Audit-Trail:
>Unformatted: