summaryrefslogtreecommitdiff
path: root/sysutils/lavaps/patches
diff options
context:
space:
mode:
authorjlam <jlam>2000-10-15 02:33:13 +0000
committerjlam <jlam>2000-10-15 02:33:13 +0000
commit1078731ed8b20232947a75a587f3515c25488810 (patch)
tree87ad7e4214a1ccc7034f2b4f898ea631fc6e62c8 /sysutils/lavaps/patches
parent78953ac0c133a8dd42bc2496b63c872acd767109 (diff)
downloadpkgsrc-1078731ed8b20232947a75a587f3515c25488810.tar.gz
Update lavaps to 1.15. Changes from version 1.10:
* The display can now be lozenge-shaped (the way a real lava lamp is). This is controlled by the "lozenge" resource. * FreeBSD now drops setgid privileges. * Fixed bugs in handling .lavapsrc files. * In some cases lavaps would go into infinite blob growth or shrinkage. * Process control (nice, renice, kill) added. * Some of the "halo" around lozenge windows fixed. * Dependence on an external ``whoami'' program removed. * Process name added to proc menu. * Handling of window decorations (the ``halo'' bug) mostly cleaned up. * Shaped windows can now be disabled completely. * Fix for the "infinite growth on start" bug that occurred if no geometry was specified.
Diffstat (limited to 'sysutils/lavaps/patches')
-rw-r--r--sysutils/lavaps/patches/patch-aa21
1 files changed, 15 insertions, 6 deletions
diff --git a/sysutils/lavaps/patches/patch-aa b/sysutils/lavaps/patches/patch-aa
index a6fab2dfcab..1c183cced0a 100644
--- a/sysutils/lavaps/patches/patch-aa
+++ b/sysutils/lavaps/patches/patch-aa
@@ -1,7 +1,16 @@
-$NetBSD: patch-aa,v 1.2 2000/02/05 06:54:30 wiz Exp $
---- process_scan_freebsd.cc.orig Tue Nov 2 16:27:39 1999
-+++ process_scan_freebsd.cc Tue Nov 2 16:53:24 1999
-@@ -112,7 +112,7 @@
+$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)
@@ -10,7 +19,7 @@ $NetBSD: patch-aa,v 1.2 2000/02/05 06:54:30 wiz Exp $
return pages * pages_per_kb;
}
-@@ -246,6 +246,16 @@
+@@ -250,6 +251,16 @@
// xxx: skip p_iticks
int size, resident;
@@ -18,7 +27,7 @@ $NetBSD: patch-aa,v 1.2 2000/02/05 06:54:30 wiz Exp $
+#ifdef __NetBSD__
+# ifndef UPAGES
+# ifdef USPACE
-+# define UPAGES ( USPACE / sysconf(_SC_PAGESIZE) )
++# define UPAGES ( USPACE / sysconf(_SC_PAGESIZE) )
+# else /* !USPACE */
+# error No UPAGES, no USPACE, no fun!
+# endif /* USPACE */