summaryrefslogtreecommitdiff
path: root/sysutils/skill/patches/patch-ab
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2000-02-19 02:03:11 +0000
committerwiz <wiz@pkgsrc.org>2000-02-19 02:03:11 +0000
commitffe0dd7b0c136f84385a1f2c1764f5482a81761e (patch)
tree2ab3da039446c12a0df0cd69de91bd2f44b73d27 /sysutils/skill/patches/patch-ab
parent347657391cf55801b0d8afa36eb8e7930d636637 (diff)
downloadpkgsrc-ffe0dd7b0c136f84385a1f2c1764f5482a81761e.tar.gz
${UVM} cleanup: while we're at it, make the package work again, and
upgrade it to 3.7@P7, also called 3.7.8
Diffstat (limited to 'sysutils/skill/patches/patch-ab')
-rw-r--r--sysutils/skill/patches/patch-ab21
1 files changed, 21 insertions, 0 deletions
diff --git a/sysutils/skill/patches/patch-ab b/sysutils/skill/patches/patch-ab
new file mode 100644
index 00000000000..1194122fd89
--- /dev/null
+++ b/sysutils/skill/patches/patch-ab
@@ -0,0 +1,21 @@
+$NetBSD: patch-ab,v 1.3 2000/02/19 02:03:13 wiz Exp $
+
+--- ./machdep/bsd-44.c.orig Tue Jan 5 18:23:42 1999
++++ ./machdep/bsd-44.c Sat Feb 19 02:51:38 2000
+@@ -144,6 +144,7 @@
+ #define _ALLPROCFLAG KINFO_PROC_ALL
+ #else
+ #include <sys/sysctl.h>
++#include <limits.h>
+ #define _ALLPROCFLAG KERN_PROC_ALL
+ #endif
+
+@@ -170,7 +171,7 @@
+ static int nproc = -1;
+ static struct kinfo_proc *aproc;
+ static kvm_t *kd = NULL;
+- char errbuf[256];
++ char errbuf[_POSIX2_LINE_MAX];
+
+ /*
+ * If this is our first time here, prepare to read procs from kernel.