summaryrefslogtreecommitdiff
path: root/sysutils/top
diff options
context:
space:
mode:
authorthorpej <thorpej@pkgsrc.org>1998-12-03 20:02:53 +0000
committerthorpej <thorpej@pkgsrc.org>1998-12-03 20:02:53 +0000
commit119d60c7a10a618316da101215df55a026c76c54 (patch)
treebae962e071e86046c31e4bc35b310d2d7cf57871 /sysutils/top
parente41044722b1c4af4db2a8753cb8d28f2844cec02 (diff)
downloadpkgsrc-119d60c7a10a618316da101215df55a026c76c54.tar.gz
In the utils.c patch, avoid pulling in the compat sys_nerr; use the
definition provided by errno.h. Also, clean up the Configure patch.
Diffstat (limited to 'sysutils/top')
-rw-r--r--sysutils/top/patches/patch-aa28
1 files changed, 15 insertions, 13 deletions
diff --git a/sysutils/top/patches/patch-aa b/sysutils/top/patches/patch-aa
index 2a1527240ff..70a932fd649 100644
--- a/sysutils/top/patches/patch-aa
+++ b/sysutils/top/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.5 1998/08/07 11:14:09 agc Exp $
+$NetBSD: patch-aa,v 1.6 1998/12/03 20:02:53 thorpej Exp $
diff -1 -uBbNr commands.c commands.c
--- commands.c Tue Aug 27 16:13:57 1996
@@ -616,15 +616,17 @@ diff -1 -uBbNr utils.c utils.c
+#include <errno.h>
+
int atoiwi(str)
-*** Configure 1997/10/22 10:00:59 1.1
---- Configure 1997/10/22 10:01:15
-***************
-*** 352,358 ****
- set group = sys
- else
- set t_mode = 4711
-- set mode = 4711
- endif
- else if (-e /dev/kmem) then
- $ls /dev/kmem >/tmp/$$.b
---- 352,357 ----
+@@ -334,5 +336,5 @@
+ extern char *sys_errlist[];
+-#endif
+
+ extern int sys_nerr;
++#endif
+
+diff -1 -uBbNr Configure Configure
+--- Configure Thu Dec 3 11:56:33 1998
++++ Configure Thu Dec 3 11:57:30 1998
+@@ -355,3 +355,2 @@
+ set t_mode = 4711
+- set mode = 4711
+ endif