Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66]) by www.NetBSD.org (Postfix) with ESMTP id 5934563CD6C for ; Wed, 8 Aug 2012 18:37:15 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 2542C14A18E; Wed, 8 Aug 2012 18:37:15 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 5A18414A18B for ; Wed, 8 Aug 2012 18:37:13 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id bwFXnvyBsFT8 for ; Wed, 8 Aug 2012 18:37:12 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id D371314A184 for ; Wed, 8 Aug 2012 18:37:12 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id C876C175DD; Wed, 8 Aug 2012 18:37:07 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Date: Wed, 8 Aug 2012 18:37:07 +0000 From: "John Marino" Subject: CVS commit: pkgsrc/sysutils/whowatch To: pkgsrc-changes@NetBSD.org Reply-To: marino@netbsd.org X-Mailer: log_accum Message-Id: <20120808183707.C876C175DD@cvs.netbsd.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk Module Name: pkgsrc Committed By: marino Date: Wed Aug 8 18:37:07 UTC 2012 Modified Files: pkgsrc/sysutils/whowatch: Makefile distinfo pkgsrc/sysutils/whowatch/patches: patch-ad Added Files: pkgsrc/sysutils/whowatch/patches: patch-proctree.c Log Message: sysutils/whowatch: Fix LP64 and DragonFly regression 1) The 4th argument of the sysctl function requires type size_t, not int, which matters for LP64. 2) DragonFly's kinfo structure changed dramatically a few years ago, breaking this package. Repatched. 3) sysctl can return pid of -1 for pure kernel processes which must be skipped to avoid a segfault. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 pkgsrc/sysutils/whowatch/Makefile cvs rdiff -u -r1.5 -r1.6 pkgsrc/sysutils/whowatch/distinfo cvs rdiff -u -r1.1 -r1.2 pkgsrc/sysutils/whowatch/patches/patch-ad cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/whowatch/patches/patch-proctree.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.