ports/91815: [patch] APM support broken for sysutils/xfce4-battery-plugin

Darren L. LaChausse dlachausse at yahoo.com
Sun Jan 15 08:10:06 UTC 2006


>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 at 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:



More information about the freebsd-ports-bugs mailing list