From 209309375bd44b5e0edc8dc0be932ebded132caf Mon Sep 17 00:00:00 2001 From: dinoex Date: Sat, 1 Mar 2008 03:34:14 +0000 Subject: - Fix report of free memory on amd64 Submitted by: Florian Smeets Obtained from: http://www.hobbitmon.com/hobbiton/2006/10/msg00432.html --- net-mgmt/hobbit-client/Makefile | 1 + net-mgmt/hobbit-client/files/patch-freebsd-meminfo.c | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 net-mgmt/hobbit-client/files/patch-freebsd-meminfo.c (limited to 'net-mgmt/hobbit-client') diff --git a/net-mgmt/hobbit-client/Makefile b/net-mgmt/hobbit-client/Makefile index 104b772864d2..6c0009b83d60 100644 --- a/net-mgmt/hobbit-client/Makefile +++ b/net-mgmt/hobbit-client/Makefile @@ -7,6 +7,7 @@ PORTNAME= hobbit PORTVERSION= 4.2.0 +PORTREVISION= 1 CATEGORIES= net-mgmt www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= hobbitmon diff --git a/net-mgmt/hobbit-client/files/patch-freebsd-meminfo.c b/net-mgmt/hobbit-client/files/patch-freebsd-meminfo.c new file mode 100644 index 000000000000..9c556e5b039e --- /dev/null +++ b/net-mgmt/hobbit-client/files/patch-freebsd-meminfo.c @@ -0,0 +1,11 @@ +--- client/freebsd-meminfo.c.orig 2006-08-09 22:09:58.000000000 +0200 ++++ client/freebsd-meminfo.c 2008-03-01 04:31:43.000000000 +0100 +@@ -23,7 +23,7 @@ + unsigned long physmem; + + int hw_pagesize[] = { CTL_HW, HW_PAGESIZE }; +- unsigned long pagesize; ++ int pagesize; + + int vm_vmtotal[] = { CTL_VM, VM_METER }; + struct vmtotal vmdata; -- cgit