After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 667591 - unbreak after kinfo_proc2 got removed from OpenBSD
unbreak after kinfo_proc2 got removed from OpenBSD
Status: RESOLVED FIXED
Product: libgtop
Classification: Core
Component: bsd
2.28.x
Other OpenBSD
: Normal major
: ---
Assigned To: libgtop maintainers
libgtop maintainers
Depends on:
Blocks:
 
 
Reported: 2012-01-09 17:59 UTC by Antoine Jacoutot
Modified: 2012-01-22 11:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
use kinfo_proc instead of kinfo_proc2 (8.26 KB, patch)
2012-01-09 17:59 UTC, Antoine Jacoutot
none Details | Review

Description Antoine Jacoutot 2012-01-09 17:59:37 UTC
Created attachment 204896 [details] [review]
use kinfo_proc instead of kinfo_proc2

Hi.

The deprecated kinfo_proc2 interface finally got removed from OpenBSD which means libgtop does not build anymore there.
This patch fixes it by using kinfo_proc with the corresponding calls.

This only affects OpenBSD so is that alright if I push it?
Thanks.
Comment 1 Antoine Jacoutot 2012-01-22 08:43:19 UTC
Anyone? Again this only affects OpenBSD.
Comment 2 Chris Kühl 2012-01-22 11:20:24 UTC
I'm not the libgtop maintainer, but as there is no current active maintainer, I've taken a look at the patch and it looks very straight forward. I'd say go ahead and commit.
Comment 3 Antoine Jacoutot 2012-01-22 11:49:13 UTC
(In reply to comment #2)
> I'm not the libgtop maintainer, but as there is no current active maintainer,
> I've taken a look at the patch and it looks very straight forward. I'd say go
> ahead and commit.

Awesome, thanks.
Pushed as b11aa1517e203e36a8901f03ea57c50a25dfbfc7