Subject: pkg/13405: glibtop_init_cpu_p does not set sysdeps.cpu
To: None <gnats-bugs@gnats.netbsd.org>
From: Matthias Grutzeck <thias@grutzeck.cjb.net>
List: netbsd-bugs
Date: 07/07/2001 23:14:48
>Number:         13405
>Category:       pkg
>Synopsis:       glibtop_init_cpu_p does not set sysdeps.cpu
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 07 14:13:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Matthias Grutzeck
>Release:        NetBSD 1.5 <NetBSD-current source date>
>Organization:
	
>Environment:
	
System: NetBSD queen.grutzeck.cjb.net 1.5 NetBSD 1.5 (QUEEN) #4: Sat Jul 7 19:00:23 CEST 2001 thias@queen.grutzeck.cjb.net:/usr/src/sys/arch/i386/compile/QUEEN i386


>Description:
	calling glibtop_get_cpu of libgtop-1.0.12 installed through the
        package returns no value.
>How-To-Repeat:
        Call glibtop_get_cpu in any program and check the returned 
        flag. The different applets from Gnome like the
        cpumemusage_applet are doing this call, too.
	
>Fix:
        file
        $NetBSD: patch-ae,v 1.7 2000/06/30 03:13:37 wiz Exp $ 
        in directory /usr/pkgsrc/devel/libgtop/patch is broken.
        The function glibtop_init_cpu_p must be patched in a way,
        that it execute the line
         	server->sysdeps.cpu = _glibtop_sysdeps_cpu;
        independ if KERN_CP_TIME is defined.
       

	


>Release-Note:
>Audit-Trail:
>Unformatted: