Date: Sun, 15 Jan 2006 01:09:38 -0700 From: "Darren L. LaChausse" <dlachausse@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/91815: [patch] APM support broken for sysutils/xfce4-battery-plugin Message-ID: <20060115080614.HRLB17690.fed1rmmtao04.cox.net@[68.110.15.230]> Resent-Message-ID: <200601150810.k0F8A5UA076505@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 91815 >Category: ports >Synopsis: [patch] APM support broken for sysutils/xfce4-battery-plugin >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jan 15 08:10:05 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Darren L. LaChausse >Release: FreeBSD 6.0-RELEASE-p2 i386 >Organization: >Environment: System: FreeBSD kalashnikov.tc.ph.cox.net 6.0-RELEASE-p2 FreeBSD 6.0-RELEASE-p2 #6: Wed Jan 11 18:59:38 MST 2006 root@kalashnikov.tc.ph.cox.net:/usr/obj/usr/src/sys/KALASHNIKOV i386 >Description: The sysutils/xfce4-battery-plugin port has broken APM support. >How-To-Repeat: Install sysutils/xfce4-battery-plugin and add the Battery Monitor to the XFCE panel. >Fix: The attached patch defines APMDEVICE appropriately in panel-plugin/battmon.c --- PATCH-panel-plugin::battmon.c begins here --- diff -crN xfce4-battery-plugin-0.2.0/panel-plugin/battmon.c xfce4-battery-plugin-0.2.0.patch/panel-plugin/battmon.c *** xfce4-battery-plugin-0.2.0/panel-plugin/battmon.c Thu Jan 12 23:12:46 2006 --- xfce4-battery-plugin-0.2.0.patch/panel-plugin/battmon.c Thu Jan 12 23:12:10 2006 *************** *** 33,39 **** #ifdef __FreeBSD__ #include <machine/apm_bios.h> - #define APMDEVICE "/dev/apm" #elif __OpenBSD__ #include <sys/param.h> #include <machine/apmvar.h> --- 33,38 ---- --- PATCH-panel-plugin::battmon.c ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060115080614.HRLB17690.fed1rmmtao04.cox.net>