Subject: port-sparc64/36735: /usr/include/sparc64/apmvar.h should exist
To: None <,,>
From: None <>
List: netbsd-bugs
Date: 08/05/2007 14:35:00
>Number:         36735
>Category:       port-sparc64
>Synopsis:       /usr/include/sparc64/apmvar.h should exist
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-sparc64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Aug 05 14:35:00 +0000 2007
>Originator:     OBATA Akio
>Release:        NetBSD 3.1
	LINS, Japan.
System: NetBSD 3.1 NetBSD 3.1 (MIKI) #21: Sun Nov 5 09:26:06 JST 2006 i386
Architecture: i386
Machine: i386
	/usr/include/sparc64/apmvar.h should exist.

	SPARC64 port support APM, but apmvar.h exists in /usr/include/sparc.
	Most of the application using APM include <machine/apmvar.h>, so
	failed to build. Need sppecial care.
	Checking support of APM also need special care.

	If sparc64/apmvar.h exist, it makes easy to check APM support,
	just check if /usr/include/machine/apmvar.h exists or not.
	No need to modify many existence application including

	For instance, PR pkg/36289.
	Create /usr/include/sparc64/apmvar.h,
	and it just include <sparc/apmvar.h>