diff options
author | tron <tron@pkgsrc.org> | 2000-06-03 21:25:54 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2000-06-03 21:25:54 +0000 |
commit | e199f937e4783841e13b6175842446cdcf5d1226 (patch) | |
tree | 7c55994570617fc8ddd59db073075ba843ead38f /devel/libgtop/patches | |
parent | 5b3eca4bf18bb9998fbee9e1c2be5ea9d1725ea2 (diff) | |
download | pkgsrc-e199f937e4783841e13b6175842446cdcf5d1226.tar.gz |
Fix KVM support so that at least the "gtop" package works again.
Diffstat (limited to 'devel/libgtop/patches')
-rw-r--r-- | devel/libgtop/patches/patch-ad | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/devel/libgtop/patches/patch-ad b/devel/libgtop/patches/patch-ad new file mode 100644 index 00000000000..48e398e5e03 --- /dev/null +++ b/devel/libgtop/patches/patch-ad @@ -0,0 +1,17 @@ +$NetBSD: patch-ad,v 1.6 2000/06/03 21:25:55 tron Exp $ + +--- sysdeps/freebsd/procargs.c.orig Thu May 27 16:04:01 1999 ++++ sysdeps/freebsd/procargs.c Sat Jun 3 23:18:52 2000 +@@ -83,9 +83,9 @@ + + args = kvm_getargv (server->machine.kd, pinfo, max_len); + if (args == NULL) { +- glibtop_suid_leave (server); +- glibtop_warn_io_r (server, "kvm_getargv (%d)", pid); +- return NULL; ++ static char *dummy = NULL; ++ ++ args = &dummy; + } + + glibtop_suid_leave (server); |