pkgsrc/devel/libgtop/patches/patch-ac
jlam c9f2ccb24d Update libgtop to 1.0.2.
It's supposed to be functional under NetBSD-1.4, but apparently still
doesn't quite work.  I'm checking this in, since it's possible to debug
this package, but I don't have the know-how to do so.  Perhaps someone
more knowledgeable will find this helpful.
1999-08-30 08:54:03 +00:00

18 lines
551 B
Text

$NetBSD: patch-ac,v 1.5 1999/08/30 08:54:03 jlam Exp $
--- include/glibtop/procstate.h.orig Tue Feb 23 06:43:11 1999
+++ include/glibtop/procstate.h Sun Aug 29 19:50:34 1999
@@ -36,6 +36,13 @@
#define GLIBTOP_MAX_PROC_STATE 4
+#define GLIBTOP_PROCESS_RUNNING 1
+#define GLIBTOP_PROCESS_INTERRUPTIBLE 2
+#define GLIBTOP_PROCESS_UNINTERRUPTIBLE 4
+#define GLIBTOP_PROCESS_ZOMBIE 8
+#define GLIBTOP_PROCESS_STOPPED 16
+#define GLIBTOP_PROCESS_SWAPPING 32
+
typedef struct _glibtop_proc_state glibtop_proc_state;
/* Name and status */