Subject: compiling -current patches...
To: None <current-users@NetBSD.ORG>
From: Simon J. Gerraty <sjg@frodo.dn.itg.telecom.com.au>
List: current-users
Date: 03/20/1995 13:41:53
Send-pr does not really seem to cater for compile errors in the src...
Should I submit one anyway?

Anyway, I'm building --current on a sparc here following Alistair's
build recipe.  Apart from commenting out the fdc0 and fd* in sparc
kernel's all seems well.

Some needed patches are included below.

The last one avoids many multiply defined errors when building libc.so
time/* _appear_ to have replaced gen/ctime.c  well removing the later
certainly allowed the library to be built.

The man pages are still formatting so more patches may follow...

*** sys/net/if.c.~1~	Thu Mar  9 22:38:48 1995
--- sys/net/if.c	Fri Mar 17 15:44:52 1995
***************
*** 574,580 ****
  /*ARGSUSED*/
  int
  ifconf(cmd, data)
! 	int cmd;
  	caddr_t data;
  {
  	register struct ifconf *ifc = (struct ifconf *)data;
--- 574,580 ----
  /*ARGSUSED*/
  int
  ifconf(cmd, data)
! 	u_long cmd;
  	caddr_t data;
  {
  	register struct ifconf *ifc = (struct ifconf *)data;
*** lib/libc/net/linkaddr.c.~1~	Sun Feb 26 01:15:50 1995
--- lib/libc/net/linkaddr.c	Mon Mar 20 10:58:04 1995
***************
*** 92,98 ****
  			continue;
  		case NAMING | DELIM:
  			state = RESET;
! 			sdl->sdl_nlen = cp - sdl->sdl_data;
  			continue;
  		case GOTTWO | DIGIT:
  			*cp++ = byte;
--- 92,98 ----
  			continue;
  		case NAMING | DELIM:
  			state = RESET;
! 			sdl->sdl_nlen = cp - (char *) sdl->sdl_data;
  			continue;
  		case GOTTWO | DIGIT:
  			*cp++ = byte;
*** lib/libc/gen/Makefile.inc.~1~	Fri Mar 10 22:50:11 1995
--- lib/libc/gen/Makefile.inc	Mon Mar 20 13:24:17 1995
***************
*** 4,10 ****
  # gen sources
  .PATH: ${.CURDIR}/arch/${MACHINE_ARCH}/gen ${.CURDIR}/gen
  
! SRCS+=	alarm.c assert.c clock.c closedir.c confstr.c ctermid.c ctime.c \
  	ctype_.c daemon.c devname.c difftime.c disklabel.c err.c errlist.c \
  	errno.c exec.c fnmatch.c fstab.c ftok.c fts.c getbsize.c getcap.c \
  	getcwd.c getdomainname.c getgrent.c getgrouplist.c gethostname.c \
--- 4,10 ----
  # gen sources
  .PATH: ${.CURDIR}/arch/${MACHINE_ARCH}/gen ${.CURDIR}/gen
  
! SRCS+=	alarm.c assert.c clock.c closedir.c confstr.c ctermid.c \
  	ctype_.c daemon.c devname.c difftime.c disklabel.c err.c errlist.c \
  	errno.c exec.c fnmatch.c fstab.c ftok.c fts.c getbsize.c getcap.c \
  	getcwd.c getdomainname.c getgrent.c getgrouplist.c gethostname.c \