summaryrefslogtreecommitdiff
path: root/devel/libgtop/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libgtop/patches/patch-ad')
-rw-r--r--devel/libgtop/patches/patch-ad24
1 files changed, 0 insertions, 24 deletions
diff --git a/devel/libgtop/patches/patch-ad b/devel/libgtop/patches/patch-ad
deleted file mode 100644
index 57e69bdb2db..00000000000
--- a/devel/libgtop/patches/patch-ad
+++ /dev/null
@@ -1,24 +0,0 @@
-$NetBSD: patch-ad,v 1.2 1998/11/01 23:22:19 tron Exp $
-
---- sysdeps/bsd/mem.c 1998/10/06 16:43:47 1.1
-+++ sysdeps/bsd/mem.c 1998/10/06 16:48:51
-@@ -116,11 +116,19 @@
-
- /* convert memory stats to Kbytes */
-
-+#ifdef __NetBSD__
-+ buf->total = (u_int64_t) pagetok (vmm.v_kernel_pages) << LOG1024;
-+#else
- buf->total = (u_int64_t) pagetok (vmm.v_page_count) << LOG1024;
-+#endif
- buf->used = (u_int64_t) pagetok (vmm.v_active_count) << LOG1024;
- buf->free = (u_int64_t) pagetok (vmm.v_free_count) << LOG1024;
-
-+#ifdef __NetBSD__
-+ buf->cached = (u_int64_t) pagetok (vmm.v_wire_count) << LOG1024;
-+#else
- buf->cached = (u_int64_t) pagetok (vmm.v_cache_count) << LOG1024;
-+#endif
- buf->shared = (u_int64_t) pagetok (vmt.t_vmshr) << LOG1024;
-
- buf->buffer = (u_int64_t) bufspace;