diff options
author | skrll <skrll@pkgsrc.org> | 2001-03-15 17:58:48 +0000 |
---|---|---|
committer | skrll <skrll@pkgsrc.org> | 2001-03-15 17:58:48 +0000 |
commit | 79378a2802ffd6f3a0a65de3c1b7a32e52c45083 (patch) | |
tree | 61930f3f179ee05ac122b05071798196b7651849 /x11/kdebase2/patches | |
parent | b364b6211bf809927f51188b84902715ae97e0f6 (diff) | |
download | pkgsrc-79378a2802ffd6f3a0a65de3c1b7a32e52c45083.tar.gz |
Get the right includes file for versions after 1.5.x
Diffstat (limited to 'x11/kdebase2/patches')
-rw-r--r-- | x11/kdebase2/patches/patch-ai | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/x11/kdebase2/patches/patch-ai b/x11/kdebase2/patches/patch-ai index b7825cb59b6..37e444d9d30 100644 --- a/x11/kdebase2/patches/patch-ai +++ b/x11/kdebase2/patches/patch-ai @@ -1,8 +1,21 @@ -$NetBSD: patch-ai,v 1.1.1.1 2001/03/14 16:03:13 skrll Exp $ +$NetBSD: patch-ai,v 1.2 2001/03/15 17:58:48 skrll Exp $ --- ksysguard/ksysguardd/FreeBSD/Memory.c.orig Fri Jul 28 00:59:28 2000 +++ ksysguard/ksysguardd/FreeBSD/Memory.c -@@ -65,9 +65,16 @@ +@@ -29,7 +29,12 @@ + + #include <sys/param.h> + #include <sys/sysctl.h> ++/* Everything post 1.5.x uses uvm/uvm_* includes */ ++#if __NetBSD_Version__ >= 105010000 ++#include <uvm/uvm_param.h> ++#else + #include <vm/vm_param.h> ++#endif + #include <sys/vmmeter.h> + #include <string.h> + #include <unistd.h> +@@ -65,9 +70,16 @@ struct vmtotal p; FILE *file; char buf[256]; @@ -19,7 +32,7 @@ $NetBSD: patch-ai,v 1.1.1.1 2001/03/14 16:03:13 skrll Exp $ Total /= 1024; /* Q&D hack for swap display. Borrowed from xsysinfo-1.4 */ -@@ -92,23 +99,40 @@ +@@ -92,23 +104,40 @@ } |