diff options
author | tron <tron> | 2000-06-03 21:25:54 +0000 |
---|---|---|
committer | tron <tron> | 2000-06-03 21:25:54 +0000 |
commit | 78cdc9353b5ad24844fa919f8dd76fdf586539ca (patch) | |
tree | 7c55994570617fc8ddd59db073075ba843ead38f /devel/libgtop | |
parent | d18225df50b9318d9e62ab7a09acc3a297882595 (diff) | |
download | pkgsrc-78cdc9353b5ad24844fa919f8dd76fdf586539ca.tar.gz |
Fix KVM support so that at least the "gtop" package works again.
Diffstat (limited to 'devel/libgtop')
-rw-r--r-- | devel/libgtop/files/patch-sum | 3 | ||||
-rw-r--r-- | devel/libgtop/patches/patch-ad | 17 |
2 files changed, 19 insertions, 1 deletions
diff --git a/devel/libgtop/files/patch-sum b/devel/libgtop/files/patch-sum index 2c6d6a9102c..133866b4b04 100644 --- a/devel/libgtop/files/patch-sum +++ b/devel/libgtop/files/patch-sum @@ -1,8 +1,9 @@ -$NetBSD: patch-sum,v 1.10 2000/05/30 19:35:41 drochner Exp $ +$NetBSD: patch-sum,v 1.11 2000/06/03 21:25:54 tron Exp $ MD5 (patch-aa) = 4a0b8a669f3a362fbf3cfdaa1036e2a2 MD5 (patch-ab) = 1be0d48b1e41fea46ee459a320fb11c7 MD5 (patch-ac) = f84a83914548206edccb11e1f84bf1bf +MD5 (patch-ad) = 617e9e681d3576d14d2b9dd4185dfd68 MD5 (patch-al) = 6f00e7b2002aac3d3dbd0d8584033877 MD5 (patch-an) = 92fc474edf1d713540f7ee0a35a6dbf2 MD5 (patch-ao) = ae10e3b4bd4ee612c4fac54fccbb15a8 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); |