diff options
-rw-r--r-- | sysutils/lavaps/Makefile | 6 | ||||
-rw-r--r-- | sysutils/lavaps/distinfo | 7 | ||||
-rw-r--r-- | sysutils/lavaps/patches/patch-aa | 38 |
3 files changed, 7 insertions, 44 deletions
diff --git a/sysutils/lavaps/Makefile b/sysutils/lavaps/Makefile index cc61a0a2e65..6386b2c9494 100644 --- a/sysutils/lavaps/Makefile +++ b/sysutils/lavaps/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.9 2001/05/05 19:51:18 jlam Exp $ +# $NetBSD: Makefile,v 1.10 2001/10/31 02:03:29 hubertf Exp $ # -DISTNAME= lavaps-1.15 +DISTNAME= lavaps-1.20 +PKGNAME= lavaps-1.20 CATEGORIES= sysutils x11 MASTER_SITES= http://www.isi.edu/~johnh/SOFTWARE/LAVAPS/ @@ -10,6 +11,7 @@ HOMEPAGE= http://www.isi.edu/~johnh/SOFTWARE/LAVAPS/ COMMENT= Lava lamp of currently running processes DEPENDS+= tk>=8.3.2:../../x11/tk +WRKSRC= ${WRKDIR}/${PKGNAME} USE_X11= # defined GNU_CONFIGURE= # defined diff --git a/sysutils/lavaps/distinfo b/sysutils/lavaps/distinfo index 86da74de24f..f7ebed609dc 100644 --- a/sysutils/lavaps/distinfo +++ b/sysutils/lavaps/distinfo @@ -1,5 +1,4 @@ -$NetBSD: distinfo,v 1.2 2001/04/19 11:29:04 agc Exp $ +$NetBSD: distinfo,v 1.3 2001/10/31 02:03:29 hubertf Exp $ -SHA1 (lavaps-1.15.tar.gz) = bb3fa1b59f65fcf8b898533898b14aa4dc94e1c9 -Size (lavaps-1.15.tar.gz) = 153336 bytes -SHA1 (patch-aa) = 3be933a17396c051d79d8d3695f91f459fb29d3a +SHA1 (lavaps-1.20.tar.gz) = 36411710a29bcb751f23ae35a2782a5286ec0f2e +Size (lavaps-1.20.tar.gz) = 160724 bytes diff --git a/sysutils/lavaps/patches/patch-aa b/sysutils/lavaps/patches/patch-aa deleted file mode 100644 index 1c183cced0a..00000000000 --- a/sysutils/lavaps/patches/patch-aa +++ /dev/null @@ -1,38 +0,0 @@ -$NetBSD: patch-aa,v 1.3 2000/10/15 02:33:15 jlam Exp $ - ---- process_scan_freebsd.cc.orig Tue Jun 6 16:25:25 2000 -+++ process_scan_freebsd.cc Wed Sep 6 05:16:59 2000 -@@ -39,6 +39,7 @@ - #include <sys/user.h> - #include <fcntl.h> - #include <kvm.h> -+#include <unistd.h> - } - - #include "process_scan.hh" -@@ -116,7 +117,7 @@ - ENTRY_TRACE(__FILE__,__LINE__); - static int pages_per_kb = 0; - if (!pages_per_kb) -- pages_per_kb = getpagesize() / 1024; -+ pages_per_kb = sysconf(_SC_PAGESIZE) / 1024; - return pages * pages_per_kb; - } - -@@ -250,6 +251,16 @@ - // xxx: skip p_iticks - - int size, resident; -+ -+#ifdef __NetBSD__ -+# ifndef UPAGES -+# ifdef USPACE -+# define UPAGES ( USPACE / sysconf(_SC_PAGESIZE) ) -+# else /* !USPACE */ -+# error No UPAGES, no USPACE, no fun! -+# endif /* USPACE */ -+# endif /* !UPAGES */ -+#endif /* __NetBSD__ */ - - #if __FreeBSD__ < 3 - size = UPAGES + cur_kp_->kp_eproc.e_vm.vm_tsize |