pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/33631: sysutils/libgtop2 needs an extra include in some files



>Number:         33631
>Category:       pkg
>Synopsis:       sysutils/libgtop2 needs an extra include in some files
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 02 15:25:00 +0000 2006
>Originator:     Steven M. Bellovin
>Release:        NetBSD 3.99.20
>Organization:
        
>Environment:
        
        
System: NetBSD gg1.cs.columbia.edu 3.99.20 NetBSD 3.99.20 (GG1) #0: Sat May 27 
20:19:03 EDT 2006 
smb%gg1.cs.columbia.edu@localhost:/usr/BUILD/obj/sys/arch/i386/compile/GG1 i386
Architecture: i386
Machine: i386
>Description:
        Several files, all in the sysdeps/freebsd directory, won't compile
        wihtout an include of sys/resourcevar.h.  These are
        proctime.c, procmem.c, and prockernel.c

        I experienced the proble on up-to-date -current; I do not know if it
        applies to other versions
>How-To-Repeat:
        cd /usr/pkgsrc/sysutils/libgtop2 && make
>Fix:
        Add

        #ifdef _NetBSD__
        #include <sys/resourcevar.h>
        #endif

        to each of those files

        Possibly, a version comparison is needed; I don't know.

>Unformatted:
        
        



Home | Main Index | Thread Index | Old Index