Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Nov 1996 23:04:33 -0800 (PST)
From:      nobu@psrc.isac.co.jp
To:        freebsd-gnats-submit@freebsd.org
Subject:   ports/2056: xbatt ports not work after 2.1.5 (to 2.2-ALPHA)
Message-ID:  <199611190704.XAA20350@freefall.freebsd.org>
Resent-Message-ID: <199611190710.XAA20525@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 18 23:10:01 PST 1996
>Last-Modified:
>Originator:     Nobuhiro Yasutomi
>Organization:
ISAC, Inc.
>Release:        2.2-ALPHA
>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)

>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611190704.XAA20350>