pkgsrc/sysutils/libgtop/patches/patch-ag
jmmv 3f222a4d4a Finish move of libgtop from devel to sysutils, incomplete due to conflicts...
So I now see the package was previously here; the reason for the move is to
lighten a bit the devel category, which has lots of packages.
2004-04-02 12:13:57 +00:00

16 lines
508 B
Text

$NetBSD: patch-ag,v 1.3 2004/04/02 12:13:57 jmmv 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;