From e9d927e3be4a2640b1d7fbf15f7297c95d0d5340 Mon Sep 17 00:00:00 2001 From: wiz Date: Tue, 23 Sep 2003 13:58:36 +0000 Subject: Add HOMEPAGE, and make compile on non-NetBSD. From Jonathan Perkin in PR 22909. --- sysutils/skill/Makefile | 3 ++- sysutils/skill/distinfo | 4 ++-- sysutils/skill/patches/patch-ab | 18 ++++++++++-------- 3 files changed, 14 insertions(+), 11 deletions(-) (limited to 'sysutils') diff --git a/sysutils/skill/Makefile b/sysutils/skill/Makefile index d7f16dad314..9946a1b0e12 100644 --- a/sysutils/skill/Makefile +++ b/sysutils/skill/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2002/06/28 10:45:31 abs Exp $ +# $NetBSD: Makefile,v 1.16 2003/09/23 13:58:36 wiz Exp $ # DISTNAME= skill-4.1 @@ -8,6 +8,7 @@ MASTER_SITES= ftp://fast.cs.utah.edu/pub/skill/ EXTRACT_SUFX= .tgz MAINTAINER= kim@tac.nyc.ny.us +HOMEPAGE= http://www.cs.utah.edu/~forys/software.html COMMENT= Signal processes given user names, ttys, commands, or pids .include "../../mk/bsd.prefs.mk" diff --git a/sysutils/skill/distinfo b/sysutils/skill/distinfo index 424f2ce35ea..1e498ace380 100644 --- a/sysutils/skill/distinfo +++ b/sysutils/skill/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.5 2002/06/28 10:45:31 abs Exp $ +$NetBSD: distinfo,v 1.6 2003/09/23 13:58:37 wiz Exp $ SHA1 (skill-4.1.tgz) = d4f548347c34462156276f96185afa9862621338 Size (skill-4.1.tgz) = 45923 bytes SHA1 (patch-aa) = 99e982b6ca126a3844b9e056336276bdf1a062f1 -SHA1 (patch-ab) = 216bb502ec9d7ccc60988e911bb71b33f507fe25 +SHA1 (patch-ab) = 325a0e3aef97341ce9de773b6f6f94d53b42c0ec diff --git a/sysutils/skill/patches/patch-ab b/sysutils/skill/patches/patch-ab index 1b9ba54908b..92cfe1b843a 100644 --- a/sysutils/skill/patches/patch-ab +++ b/sysutils/skill/patches/patch-ab @@ -1,21 +1,23 @@ -$NetBSD: patch-ab,v 1.10 2002/06/28 10:45:32 abs Exp $ +$NetBSD: patch-ab,v 1.11 2003/09/23 13:58:37 wiz Exp $ --- main.c.orig Sat Apr 6 05:26:01 2002 -+++ main.c -@@ -46,6 +46,12 @@ const char *CopyrightVersion = "%s %s\n\ ++++ main.c Tue Sep 23 10:53:01 2003 +@@ -46,7 +46,14 @@ #include #include #include +#ifdef __NetBSD__ -+# include -+# ifndef KI_MAXCOMLEN /* Pre 1.5 */ -+# define KI_MAXCOMLEN 24 -+# endif ++#include +#endif ++#ifndef KI_MAXCOMLEN /* Pre NetBSD/1.5. Missing on !NetBSD */ ++#define KI_MAXCOMLEN 24 ++#endif ++ /* * Processes which could not be checked -- usually due to permission -@@ -137,7 +143,7 @@ main(argc, argv) + * problems (SunOS 4.1, SysVR4) -- are tallied in "MissedProcCnt". +@@ -137,7 +144,7 @@ for (i = 0; i < CmdIndx; i++) { cmdp = (CmdList + i); if ((cmdp->flags & CMD_FLAG_EXACT) != 0 && -- cgit v1.2.3