diff options
author | dinoex <dinoex@FreeBSD.org> | 2008-03-01 11:34:14 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2008-03-01 11:34:14 +0800 |
commit | 209309375bd44b5e0edc8dc0be932ebded132caf (patch) | |
tree | 0c3e76957d1f3617cb17ae2bccd543aed259a3ba /net-mgmt/hobbit-client | |
parent | 03e46032f743c95ec8a93f7a0588acf9e5f176ad (diff) | |
download | freebsd-ports-gnome-209309375bd44b5e0edc8dc0be932ebded132caf.tar.gz freebsd-ports-gnome-209309375bd44b5e0edc8dc0be932ebded132caf.tar.zst freebsd-ports-gnome-209309375bd44b5e0edc8dc0be932ebded132caf.zip |
- Fix report of free memory on amd64
Submitted by: Florian Smeets
Obtained from: http://www.hobbitmon.com/hobbiton/2006/10/msg00432.html
Diffstat (limited to 'net-mgmt/hobbit-client')
-rw-r--r-- | net-mgmt/hobbit-client/Makefile | 1 | ||||
-rw-r--r-- | net-mgmt/hobbit-client/files/patch-freebsd-meminfo.c | 11 |
2 files changed, 12 insertions, 0 deletions
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; |