Subject: port-macppc/5952: macppc/include/param.h refers to bcopy, which is being removed
To: None <gnats-bugs@gnats.netbsd.org>
From: Erik Bertelsen <erik@q610.ebe.uni-c.dk>
List: netbsd-bugs
Date: 08/12/1998 00:08:52
>Number:         5952
>Category:       port-macppc
>Synopsis:       macppc/include/param.h refers to bcopy, which is being removed
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 11 15:05:00 1998
>Last-Modified:
>Originator:     Erik Bertelsen
>Organization:
	
>Release:        NetBSD-current 11 aug 1998
>Environment:
	
System: NetBSD q610.ebe.uni-c.dk 1.3G NetBSD 1.3G (Q610) #178: Tue Aug 11 21:40:14 MEST 1998 erik@q610.ebe.uni-c.dk:/home/src/sys/arch/mac68k/compile/Q610 mac68k


>Description:
	Compilation errors occur while building a macppc kernel because
	param.h defines ovbcopy to bcopy, which has recently been replaced
	by memcpy. This definitions conflicts with the definition
	in sys/systm.h.
	(Similar problems seem to be present in arch/{powerpc,ofppc}/include/
	param.h).
	The patch below just deletes the architecture-dependent definition.
>How-To-Repeat:
	
>Fix:
Index: param.h
===================================================================
RCS file: /home/cvs-base/src/sys/arch/macppc/include/param.h,v
retrieving revision 1.1.1.1
diff -r1.1.1.1 param.h
141,144d140
< /*
<  * Temporary kludge till we do (ov)bcopy in assembler
<  */
< #define	ovbcopy	bcopy


regards
Erik Bertelsen
>Audit-Trail:
>Unformatted: