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 553713 - libgtop_*_get_proc_affinity() support for NetBSD
libgtop_*_get_proc_affinity() support for NetBSD
Status: RESOLVED FIXED
Product: libgtop
Classification: Core
Component: bsd
2.24.x
Other All
: Normal enhancement
: ---
Assigned To: libgtop maintainers
libgtop maintainers
Depends on:
Blocks:
 
 
Reported: 2008-09-25 05:48 UTC by Juan RP
Modified: 2017-05-22 21:28 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
Enable procaffinity.c on sysdeps/bsd/Makefile.am. (681 bytes, patch)
2008-09-25 05:52 UTC, Juan RP
none Details | Review
The required procaffinity.c file for NetBSD. (2.37 KB, text/plain)
2008-09-25 05:53 UTC, Juan RP
  Details
Define some GLIBTOP_SUID constants to build procaffinity on NetBSD (408 bytes, patch)
2008-09-25 05:55 UTC, Juan RP
none Details | Review

Description Juan RP 2008-09-25 05:48:52 UTC
I noticed that libgtop currently fails to build on NetBSD because of missing proc affinity support on libgtop.

NetBSD supports process affinity for some months already, it will be officially
added on 5.0. Therefore my patch will work in all versions starting from the current HEAD of this date.
Comment 1 Juan RP 2008-09-25 05:52:15 UTC
Created attachment 119347 [details] [review]
Enable procaffinity.c on sysdeps/bsd/Makefile.am.
Comment 2 Juan RP 2008-09-25 05:53:13 UTC
Created attachment 119348 [details]
The required procaffinity.c file for NetBSD.
Comment 3 Juan RP 2008-09-25 05:55:55 UTC
Created attachment 119349 [details] [review]
Define some GLIBTOP_SUID constants to build procaffinity on NetBSD
Comment 4 Patrick Welche 2015-06-05 11:16:55 UTC
This has been in use in pkgsrc for NetBSD since November 2008 - it's probably safe to commit ;-)
Comment 5 Robert Roth 2015-06-20 00:40:24 UTC
(In reply to Patrick Welche from comment #4)
> This has been in use in pkgsrc for NetBSD since November 2008 - it's
> probably safe to commit ;-)

I have pushed these to master, could you please try to build it to make sure nothing is missing, as I don't have a NetBSD at hand.
Comment 6 Robert Roth 2017-05-22 21:28:45 UTC
This problem has been fixed in our software repository. The fix will go into the next software release. Once that release is available, you may want to check for a software upgrade provided by your Linux distribution.