Unfortunately a bit of functionality is lost there but it should still work. Bump package revision to reflect the changes.
16 lines
508 B
Text
16 lines
508 B
Text
$NetBSD: patch-ag,v 1.6 2003/01/21 10:12:31 tron Exp $
|
|
|
|
--- sysdeps/freebsd/procuid.c.orig Mon Nov 26 23:37:59 2001
|
|
+++ sysdeps/freebsd/procuid.c Sun Jan 19 23:26:08 2003
|
|
@@ -94,7 +94,11 @@
|
|
buf->tpgid = pinfo [0].kp_eproc.e_tpgid;
|
|
|
|
buf->nice = pinfo [0].kp_proc.p_nice;
|
|
+#if defined(__NetBSD__) && defined(SACTIVE)
|
|
+ buf->priority = 0;
|
|
+#else
|
|
buf->priority = pinfo [0].kp_proc.p_priority;
|
|
+#endif
|
|
|
|
/* Set the flags for the data we're about to return*/
|
|
buf->flags = _glibtop_sysdeps_proc_uid;
|