NetBSD Problem Report #36735

From obata@lins.jp  Sun Aug  5 14:30:56 2007
Return-Path: <obata@lins.jp>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 2AB3863BAB7
	for <gnats-bugs@gnats.NetBSD.org>; Sun,  5 Aug 2007 14:30:56 +0000 (UTC)
Message-Id: <20070805143053.61928295220@miki.lins.jp>
Date: Sun,  5 Aug 2007 23:30:53 +0900 (JST)
From: obata@lins.jp
Reply-To: obata@lins.jp
To: gnats-bugs@NetBSD.org
Subject: /usr/include/sparc64/apmvar.h should exist
X-Send-Pr-Version: 3.95

>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:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Aug 05 14:35:00 +0000 2007
>Closed-Date:    Sun Mar 08 00:52:41 +0000 2015
>Last-Modified:  Sun Mar 08 00:52:41 +0000 2015
>Originator:     OBATA Akio
>Release:        NetBSD 3.1
>Organization:
	LINS, Japan.
>Environment:
System: NetBSD miki.lins.jp 3.1 NetBSD 3.1 (MIKI) #21: Sun Nov 5 09:26:06 JST 2006 obata@miki.lins.jp:/usr/src/sys/arch/i386/compile/MIKI i386
Architecture: i386
Machine: i386
>Description:
	/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
	<machine/apmvar.h>.

>How-To-Repeat:
	For instance, PR pkg/36289.
>Fix:
	Create /usr/include/sparc64/apmvar.h,
	and it just include <sparc/apmvar.h>

>Release-Note:

>Audit-Trail:
From: Kouichirou Hiratsuka <hira@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/36735 CVS commit: pkgsrc/sysutils/xfce4-battery-plugin
Date: Sat,  5 Jan 2008 05:35:21 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	hira
 Date:		Sat Jan  5 05:35:21 UTC 2008

 Modified Files:
 	pkgsrc/sysutils/xfce4-battery-plugin: Makefile distinfo
 	pkgsrc/sysutils/xfce4-battery-plugin/patches: patch-aa

 Log Message:
 On NetBSD/sparc64, use /usr/include/sparc/apmvar.h instead of
 /usr/include/machine/apmvar.h until PR pkg/36735 is fixed.
 Pointed out by obache@.  OK'd by maintainer.


 To generate a diff of this commit:
 cvs rdiff -r1.4 -r1.5 pkgsrc/sysutils/xfce4-battery-plugin/Makefile \
     pkgsrc/sysutils/xfce4-battery-plugin/distinfo
 cvs rdiff -r1.4 -r1.5 pkgsrc/sysutils/xfce4-battery-plugin/patches/patch-aa

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: Kouichirou Hiratsuka <hira@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/36735 CVS commit: pkgsrc/sysutils/xfce4-battery-plugin
Date: Sat,  5 Jan 2008 05:42:02 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	hira
 Date:		Sat Jan  5 05:42:02 UTC 2008

 Modified Files:
 	pkgsrc/sysutils/xfce4-battery-plugin: Makefile distinfo
 	pkgsrc/sysutils/xfce4-battery-plugin/patches: patch-aa

 Log Message:
 Correct category of PR 36735 in comment (pkg -> port-sparc64).


 To generate a diff of this commit:
 cvs rdiff -r1.5 -r1.6 pkgsrc/sysutils/xfce4-battery-plugin/Makefile \
     pkgsrc/sysutils/xfce4-battery-plugin/distinfo
 cvs rdiff -r1.5 -r1.6 pkgsrc/sysutils/xfce4-battery-plugin/patches/patch-aa

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: PR/36735 CVS commit: pkgsrc/sysutils/xfce4-battery-plugin
Date: Sat, 5 Jan 2008 14:41:25 +0100

 Isn't it better to directly include dev/apm/* files?

 Martin

State-Changed-From-To: open->closed
State-Changed-By: obache@NetBSD.org
State-Changed-When: Sun, 08 Mar 2015 00:52:41 +0000
State-Changed-Why:
dev/apm/* should be used instead


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.