From nobody  Mon Nov 18 23:04:33 1996
Received: (from nobody@localhost)
          by freefall.freebsd.org (8.7.5/8.7.3) id XAA20350;
          Mon, 18 Nov 1996 23:04:33 -0800 (PST)
Message-Id: <199611190704.XAA20350@freefall.freebsd.org>
Date: Mon, 18 Nov 1996 23:04:33 -0800 (PST)
From: nobu@psrc.isac.co.jp
To: freebsd-gnats-submit@freebsd.org
Subject: xbatt ports not work after 2.1.5 (to 2.2-ALPHA)
X-Send-Pr-Version: www-1.0

>Number:         2056
>Category:       ports
>Synopsis:       xbatt ports not work after 2.1.5 (to 2.2-ALPHA)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 18 23:10:01 PST 1996
>Closed-Date:    Sat Nov 23 07:04:37 PST 1996
>Last-Modified:  Sat Nov 23 07:06:47 PST 1996
>Originator:     Nobuhiro Yasutomi
>Release:        2.2-ALPHA
>Organization:
ISAC, Inc.
>Environment:
FreeBSD charm.psrc.isac.co.jp 2.2-ALPHA FreeBSD 2.2-ALPHA #0: Sat Nov 16 20:28:34  1996     nobu@charm.psrc.isac.co.jp:/usr/src/sys/compile/CHARM  i386

>Description:
APM device filename and permition changed between 2.1.0 to 2.1.5.
Currentry ports or packages sysutil/xbatt need to change to work.
Will you added fix patches.

>How-To-Repeat:

>Fix:
this is problem fix patch (patch-ab)
--- xbatt.c.orig        Wed Apr 19 15:40:01 1995
+++ xbatt.c     Tue Nov 19 15:42:37 1996
@@ -49,7 +49,7 @@
 #define INTERVAL       5
 #endif
 
-#define APMDEV "/dev/apm0"
+#define APMDEV "/dev/apm"
 
 #define        APM_STAT_UNKNOWN        255
 /* aip->ai_acline */
--- Imakefile.orig      Wed Apr 19 15:38:32 1995
+++ Imakefile   Tue Nov 19 15:48:47 1996
@@ -3,4 +3,5 @@
 LOCAL_LIBRARIES = $(XAWLIB) $(XMULIB) $(XTOOLLIB) -lXpm $(XLIB)
 SRCS = xbatt.c
 OBJS = xbatt.o
+INSTPGMFLAGS= -s -g operator -m 2755
 ComplexProgramTarget(xbatt)

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: max 
State-Changed-When: Sat Nov 23 07:04:37 PST 1996 
State-Changed-Why:  
Reported problems have been fixed in: 
The apm device name: patch-aa Rev. 1.2 
The mode of the binary: patch-ab (new file, Rev. 1.1) 
>Unformatted:
