summaryrefslogtreecommitdiff
path: root/net-mgmt/net-snmp-devel
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2007-03-03 13:00:16 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2007-03-03 13:00:16 +0000
commit2ea2b2176438145d934e379fcd5fa58775a71164 (patch)
tree8f3b1da84b29a80ecb71636544b58ef33b3121eb /net-mgmt/net-snmp-devel
parentFix PORTNAME, which did not match origin. (diff)
- Fix wrong syscall for Total Memory.
PR: ports/108126 Submitted by: brd
Notes
Notes: svn path=/head/; revision=186400
Diffstat (limited to 'net-mgmt/net-snmp-devel')
-rw-r--r--net-mgmt/net-snmp-devel/Makefile2
-rw-r--r--net-mgmt/net-snmp-devel/files/patch-memory_freebsd2.c11
2 files changed, 12 insertions, 1 deletions
diff --git a/net-mgmt/net-snmp-devel/Makefile b/net-mgmt/net-snmp-devel/Makefile
index 83964517c081..9bfc68e0f934 100644
--- a/net-mgmt/net-snmp-devel/Makefile
+++ b/net-mgmt/net-snmp-devel/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-devel/files/patch-memory_freebsd2.c b/net-mgmt/net-snmp-devel/files/patch-memory_freebsd2.c
new file mode 100644
index 000000000000..310cad53506e
--- /dev/null
+++ b/net-mgmt/net-snmp-devel/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;