Bug 122605 - Port x11-wm/epplets E-Cpu epplet broken.
Summary: Port x11-wm/epplets E-Cpu epplet broken.
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Pietro Cerutti
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-09 18:20 UTC by Daniel Holmes
Modified: 2008-04-14 12:40 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Holmes 2008-04-09 18:20:00 UTC
The E-Cpu epplet is expecting the sysctl kern.cp_times to exist, but it is kern.cp_time instead. This doesn't stop compile, however it does stop the epplet from starting.

Fix: 

Change line 101 of epplets/E-Cpu.c to read:

if(sysctlbyname("kern.cp_time", &cp_time, &len, NULL, 0)) {
How-To-Repeat: Install the x11-wm/epplets port.
Comment 1 Edwin Groothuis freebsd_committer 2008-04-09 18:20:10 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gahr

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer 2008-04-14 12:32:24 UTC
gahr        2008-04-14 11:32:16 UTC

  FreeBSD ports repository

  Modified files:
    x11-wm/epplets       Makefile 
    x11-wm/epplets/files patch-epplets_E-Cpu.c 
                         patch-epplets_E-Load.c 
  Log:
  - Fix E-Cpu and E-Load on UP systems
  
  PR:             122605
  Submitted by:   Daniel Holmes <danielh@holmesonics.com>
  Approved by:    miwi (mentor)
  
  Revision  Changes    Path
  1.38      +1 -0      ports/x11-wm/epplets/Makefile
  1.2       +2 -2      ports/x11-wm/epplets/files/patch-epplets_E-Cpu.c
  1.2       +2 -2      ports/x11-wm/epplets/files/patch-epplets_E-Load.c
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Pietro Cerutti freebsd_committer 2008-04-14 12:34:18 UTC
State Changed
From-To: open->closed

Fixed. Thanks!