diff options
author | kuriyama <kuriyama@FreeBSD.org> | 2007-03-03 21:00:16 +0800 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 2007-03-03 21:00:16 +0800 |
commit | 71b06dd4cd9934054af23c803ca789046ffcb67b (patch) | |
tree | 48ba11bdf08b0a6a446829cdf1dfa495f3fc6245 /net-mgmt/net-snmp | |
parent | 408be82a7dd238aa5bf3e323a7e729626a2f2d58 (diff) | |
download | freebsd-ports-gnome-71b06dd4cd9934054af23c803ca789046ffcb67b.tar.gz freebsd-ports-gnome-71b06dd4cd9934054af23c803ca789046ffcb67b.tar.zst freebsd-ports-gnome-71b06dd4cd9934054af23c803ca789046ffcb67b.zip |
- Fix wrong syscall for Total Memory.
PR: ports/108126
Submitted by: brd
Diffstat (limited to 'net-mgmt/net-snmp')
-rw-r--r-- | net-mgmt/net-snmp/Makefile | 2 | ||||
-rw-r--r-- | net-mgmt/net-snmp/files/patch-memory_freebsd2.c | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/net-mgmt/net-snmp/Makefile b/net-mgmt/net-snmp/Makefile index 83964517c081..9bfc68e0f934 100644 --- a/net-mgmt/net-snmp/Makefile +++ b/net-mgmt/net-snmp/Makefile @@ -7,7 +7,7 @@ PORTNAME= snmp PORTVERSION= 5.3.1 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= net-mgmt ipv6 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= net-snmp diff --git a/net-mgmt/net-snmp/files/patch-memory_freebsd2.c b/net-mgmt/net-snmp/files/patch-memory_freebsd2.c new file mode 100644 index 000000000000..310cad53506e --- /dev/null +++ b/net-mgmt/net-snmp/files/patch-memory_freebsd2.c @@ -0,0 +1,11 @@ +--- agent/mibgroup/ucd-snmp/memory_freebsd2.c Sat Mar 3 19:40:34 2007 ++++ agent/mibgroup/ucd-snmp/memory_freebsd2.c.orig Sat Mar 3 19:39:57 2007 +@@ -256,7 +256,7 @@ + + u_long phys_mem; + size_t phys_mem_size = sizeof(phys_mem); +- int phys_mem_mib[] = { CTL_HW, HW_USERMEM }; ++ int phys_mem_mib[] = { CTL_HW, HW_PHYSMEM }; + + #ifdef BUFSPACE_SYMBOL + long bufspace; |