Subject: libgtop2 and -current
To: None <>
From: Blair Sadewitz <>
List: pkgsrc-users
Date: 03/12/2007 04:57:35
If anyone here is or wants to use libgtop2 on current, I'd like to
discuss different ways of fixing it (such as using
kinfo_proc2/kvm_getproc2) so that it won't have to be patched so

Also, there's a #define SOMETHING in sysdeps somewhere (I have to dig
it up) which appears as:


That is, the same line appears twice and gcc complains of a
redefinition of SOMETHING.  IIRC this is not the result of a faulty
patch; this is in the source.  Perplexing. ;)

I got it working with -current to the point where nearly all features
work, except the priority level always shows as 20, and there's a
crash when attempting to access certain data (again, I will have to
rebuild it and see).

So if anyone wants to partake in the joy of fixing this, drop me a line.


Support WFMU-FM: free-form radio for the masses!

"The frivolity and boredom which unsettle the established order, the
vague foreboding of something unknown, these are the heralds of
approaching change.  The gradual crumbling that left unaltered the
face of the whole is cut short by a sunburst which, in one flash,
illuminates the features of the new world."  --G.W.F. Hegel,
_Phenomenology of Spirit_ 5:11