diff options
author | joerg <joerg> | 2013-01-15 15:30:56 +0000 |
---|---|---|
committer | joerg <joerg> | 2013-01-15 15:30:56 +0000 |
commit | 789f0cef7d60fe7c1fcd200a4d371c90c8cfd220 (patch) | |
tree | b929696c2800b398bbbc9c17bac7e7293a9fa1d1 /sysutils/bubblemon | |
parent | 4a466524a99ee4a143374e707f2bdee03eca6d70 (diff) | |
download | pkgsrc-789f0cef7d60fe7c1fcd200a4d371c90c8cfd220.tar.gz |
Don't include uvm/uvm_object.h, it is for kernel-only use.
Diffstat (limited to 'sysutils/bubblemon')
-rw-r--r-- | sysutils/bubblemon/distinfo | 4 | ||||
-rw-r--r-- | sysutils/bubblemon/patches/patch-uvm | 16 |
2 files changed, 14 insertions, 6 deletions
diff --git a/sysutils/bubblemon/distinfo b/sysutils/bubblemon/distinfo index 3598ac3e3ce..9b9aa0f1bfc 100644 --- a/sysutils/bubblemon/distinfo +++ b/sysutils/bubblemon/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.3 2012/03/07 20:38:53 hans Exp $ +$NetBSD: distinfo,v 1.4 2013/01/15 15:30:56 joerg Exp $ SHA1 (bubblemon-dockapp-1.46.tar.gz) = 172de9ea7d78e4578143469187a72da8f836647a RMD160 (bubblemon-dockapp-1.46.tar.gz) = 79e8be36cd11a2c6f4998cd747b6125696603a81 @@ -6,4 +6,4 @@ Size (bubblemon-dockapp-1.46.tar.gz) = 40001 bytes SHA1 (patch-gtk2) = 70d4875dcf82dd50362275ddb2902a9d31444d03 SHA1 (patch-gtk2-api-change) = 03cefe092460f6be846fce91c9281895d2b43ad3 SHA1 (patch-make) = 1e1c7036cc897849f596ed3db66fd74ee502dffc -SHA1 (patch-uvm) = 580451d5c75dc8d164a65652f0b4e5ae09689160 +SHA1 (patch-uvm) = 90335207909cb0f35ea08ef7c8cf64704e282b03 diff --git a/sysutils/bubblemon/patches/patch-uvm b/sysutils/bubblemon/patches/patch-uvm index 36eed754b58..d3b27cdc315 100644 --- a/sysutils/bubblemon/patches/patch-uvm +++ b/sysutils/bubblemon/patches/patch-uvm @@ -1,8 +1,16 @@ -$NetBSD: patch-uvm,v 1.1.1.1 2009/07/20 14:06:02 ahoka Exp $ +$NetBSD: patch-uvm,v 1.2 2013/01/15 15:30:56 joerg Exp $ ---- sys_netbsd.c.orig 2003-10-11 21:06:09.000000000 +0200 +--- sys_netbsd.c.orig 2003-10-11 19:06:09.000000000 +0000 +++ sys_netbsd.c -@@ -78,9 +78,9 @@ int system_cpu(void) +@@ -25,7 +25,6 @@ + #include <sys/resource.h> + #include <sys/sched.h> + +-#include <uvm/uvm_object.h> + #include <uvm/uvm_extern.h> + #include <sys/swap.h> + +@@ -78,9 +77,9 @@ int system_cpu(void) int system_memory(void) { #define pagetob(size) ((size) << (uvmexp.pageshift)) @@ -14,7 +22,7 @@ $NetBSD: patch-uvm,v 1.1.1.1 2009/07/20 14:06:02 ahoka Exp $ size_t size = sizeof (uvmexp); if (sysctl(mib, 2, &uvmexp, &size, NULL, 0) < 0) -@@ -91,12 +91,13 @@ int system_memory(void) +@@ -91,12 +90,13 @@ int system_memory(void) bm.swap_used = 0; bm.swap_max = 0; if ((nswap = swapctl(SWAP_NSWAP, 0, 0)) != 0) { |