diff options
author | abs <abs@pkgsrc.org> | 2002-06-28 10:45:31 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2002-06-28 10:45:31 +0000 |
commit | 5b9dd7bc8190d6f2ee686be251a22d9cdb385fd2 (patch) | |
tree | 444989dc0420c725ed8a9f80708a3a2ff41a6359 /sysutils/skill/patches | |
parent | cf22084a3347774ae1d4a20515f647ece9e22ffa (diff) | |
download | pkgsrc-5b9dd7bc8190d6f2ee686be251a22d9cdb385fd2.tar.gz |
Updated skill to 4.1nb2
Fix for pre NetBSD-1.5 systems.
Diffstat (limited to 'sysutils/skill/patches')
-rw-r--r-- | sysutils/skill/patches/patch-aa | 10 | ||||
-rw-r--r-- | sysutils/skill/patches/patch-ab | 11 |
2 files changed, 12 insertions, 9 deletions
diff --git a/sysutils/skill/patches/patch-aa b/sysutils/skill/patches/patch-aa index 0770a59a31f..8ba945cea5e 100644 --- a/sysutils/skill/patches/patch-aa +++ b/sysutils/skill/patches/patch-aa @@ -1,8 +1,8 @@ -$NetBSD: patch-aa,v 1.10 2002/04/29 10:43:17 wiz Exp $ +$NetBSD: patch-aa,v 1.11 2002/06/28 10:45:32 abs Exp $ ---- Makefile.orig Sat Apr 6 06:53:39 2002 +--- Makefile.orig Sat Apr 6 05:53:39 2002 +++ Makefile -@@ -59,15 +59,15 @@ +@@ -59,15 +59,15 @@ PREFIX= /usr/local # CONFIGURE: Set location of executable, it's group and mode. BINDIR= ${PREFIX}/bin @@ -21,7 +21,7 @@ $NetBSD: patch-aa,v 1.10 2002/04/29 10:43:17 wiz Exp $ # CONFIGURE(Config): Add any OS-specific options here. COPTS= -@@ -79,7 +79,7 @@ +@@ -79,7 +79,7 @@ SRCS= main.c argparse.c getproc.c OBJS= main.o argparse.o getproc.o HDRS= conf.h @@ -30,7 +30,7 @@ $NetBSD: patch-aa,v 1.10 2002/04/29 10:43:17 wiz Exp $ all: skill -@@ -94,20 +94,20 @@ +@@ -94,20 +94,20 @@ ${OBJS}: ${HDRS} install: skill #(SysV) filepriv -d ${DESTDIR}/${BINDIR}/skill diff --git a/sysutils/skill/patches/patch-ab b/sysutils/skill/patches/patch-ab index c136829b584..1b9ba54908b 100644 --- a/sysutils/skill/patches/patch-ab +++ b/sysutils/skill/patches/patch-ab @@ -1,18 +1,21 @@ -$NetBSD: patch-ab,v 1.9 2002/06/23 14:42:01 kent Exp $ +$NetBSD: patch-ab,v 1.10 2002/06/28 10:45:32 abs Exp $ ---- main.c~ Sat Apr 6 13:26:01 2002 +--- main.c.orig Sat Apr 6 05:26:01 2002 +++ main.c -@@ -46,6 +46,9 @@ +@@ -46,6 +46,12 @@ const char *CopyrightVersion = "%s %s\n\ #include <stdio.h> #include <errno.h> #include <pwd.h> +#ifdef __NetBSD__ +# include <sys/sysctl.h> ++# ifndef KI_MAXCOMLEN /* Pre 1.5 */ ++# define KI_MAXCOMLEN 24 ++# endif +#endif /* * Processes which could not be checked -- usually due to permission -@@ -137,7 +140,7 @@ +@@ -137,7 +143,7 @@ main(argc, argv) for (i = 0; i < CmdIndx; i++) { cmdp = (CmdList + i); if ((cmdp->flags & CMD_FLAG_EXACT) != 0 && |