From dlachausse@yahoo.com  Sun Jan 15 08:08:34 2006
Return-Path: <dlachausse@yahoo.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 0E29B16A41F
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 15 Jan 2006 08:08:34 +0000 (GMT)
	(envelope-from dlachausse@yahoo.com)
Received: from fed1rmmtao04.cox.net (fed1rmmtao04.cox.net [68.230.241.35])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 8259E43D4C
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 15 Jan 2006 08:08:33 +0000 (GMT)
	(envelope-from dlachausse@yahoo.com)
Received: from [68.110.15.230] by fed1rmmtao04.cox.net
          (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with SMTP
          id <20060115080614.HRLB17690.fed1rmmtao04.cox.net@[68.110.15.230]>
          for <FreeBSD-gnats-submit@freebsd.org>;
          Sun, 15 Jan 2006 03:06:14 -0500
Received: by _HOSTNAME_ (sSMTP sendmail emulation); Sun, 15 Jan 2006 01:09:38 -0700
Message-Id: <20060115080614.HRLB17690.fed1rmmtao04.cox.net@[68.110.15.230]>
Date: Sun, 15 Jan 2006 01:09:38 -0700
From: "Darren L. LaChausse" <dlachausse@yahoo.com>
Reply-To: Darren L. LaChausse <dlachausse@yahoo.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [patch] APM support broken for sysutils/xfce4-battery-plugin
X-Send-Pr-Version: 3.113
X-GNATS-Notify: thorsten.greiner@web.de

>Number:         91815
>Category:       ports
>Synopsis:       [patch] APM support broken for sysutils/xfce4-battery-plugin
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lawrance
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 15 08:10:05 GMT 2006
>Closed-Date:    Sat Feb 11 14:55:13 GMT 2006
>Last-Modified:  Sat Feb 11 14:55:13 GMT 2006
>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:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Sun Jan 15 08:20:09 UTC 2006 
State-Changed-Why:  
Awaiting maintainers feedback 

http://www.freebsd.org/cgi/query-pr.cgi?pr=91815 
Responsible-Changed-From-To: freebsd-ports-bugs->lawrance 
Responsible-Changed-By: lawrance 
Responsible-Changed-When: Sat Feb 11 05:34:32 UTC 2006 
Responsible-Changed-Why:  
Grab 

http://www.freebsd.org/cgi/query-pr.cgi?pr=91815 
State-Changed-From-To: feedback->closed 
State-Changed-By: lawrance 
State-Changed-When: Sat Feb 11 14:55:12 UTC 2006 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=91815 
>Unformatted:
