diff options
author | kuriyama <kuriyama@FreeBSD.org> | 2002-03-07 03:02:37 +0000 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 2002-03-07 03:02:37 +0000 |
commit | 06c1a467d9bee68f47508660102f44358430387e (patch) | |
tree | 257601e51eb578a6ad96dc4facbe867ee58ee159 | |
parent | 92ed25818e7f1da097b256554c53f29d78d7b45f (diff) | |
download | FreeBSD-ports-06c1a467d9bee68f47508660102f44358430387e.zip FreeBSD-ports-06c1a467d9bee68f47508660102f44358430387e.tar.gz |
Return correct memory size when over 2G.
PR: ports/35352
Submitted by: Steve Shorter <steve@nomad.tor.lets.net>
-rw-r--r-- | net-mgmt/net-snmp-devel/Makefile | 2 | ||||
-rw-r--r-- | net-mgmt/net-snmp-devel/files/patch-memory_freebsd2.c | 11 | ||||
-rw-r--r-- | net-mgmt/net-snmp/Makefile | 2 | ||||
-rw-r--r-- | net-mgmt/net-snmp/files/patch-memory_freebsd2.c | 11 | ||||
-rw-r--r-- | net-mgmt/net-snmp4/Makefile | 2 | ||||
-rw-r--r-- | net-mgmt/net-snmp4/files/patch-memory_freebsd2.c | 11 | ||||
-rw-r--r-- | net-mgmt/net-snmp53/Makefile | 2 | ||||
-rw-r--r-- | net-mgmt/net-snmp53/files/patch-memory_freebsd2.c | 11 | ||||
-rw-r--r-- | net/net-snmp/Makefile | 2 | ||||
-rw-r--r-- | net/net-snmp/files/patch-memory_freebsd2.c | 11 | ||||
-rw-r--r-- | net/net-snmp4/Makefile | 2 | ||||
-rw-r--r-- | net/net-snmp4/files/patch-memory_freebsd2.c | 11 |
12 files changed, 72 insertions, 6 deletions
diff --git a/net-mgmt/net-snmp-devel/Makefile b/net-mgmt/net-snmp-devel/Makefile index 10e51eb..df4a964 100644 --- a/net-mgmt/net-snmp-devel/Makefile +++ b/net-mgmt/net-snmp-devel/Makefile @@ -7,7 +7,7 @@ PORTNAME= ucd-snmp PORTVERSION= 4.2.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net ipv6 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ ftp://ucd-snmp.ucdavis.edu/ \ 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 0000000..e06a326 --- /dev/null +++ b/net-mgmt/net-snmp-devel/files/patch-memory_freebsd2.c @@ -0,0 +1,11 @@ +--- agent/mibgroup/ucd-snmp/memory_freebsd2.c.orig Mon Sep 17 06:16:16 2001 ++++ agent/mibgroup/ucd-snmp/memory_freebsd2.c Mon Mar 4 10:00:56 2002 +@@ -232,7 +232,7 @@ + size_t total_size = sizeof (total); + int total_mib[] = { CTL_VM, VM_METER }; + +- long phys_mem; ++ u_long phys_mem; + size_t phys_mem_size = sizeof(phys_mem); + int phys_mem_mib[] = { CTL_HW, HW_USERMEM }; + diff --git a/net-mgmt/net-snmp/Makefile b/net-mgmt/net-snmp/Makefile index 10e51eb..df4a964 100644 --- a/net-mgmt/net-snmp/Makefile +++ b/net-mgmt/net-snmp/Makefile @@ -7,7 +7,7 @@ PORTNAME= ucd-snmp PORTVERSION= 4.2.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net ipv6 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ ftp://ucd-snmp.ucdavis.edu/ \ 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 0000000..e06a326 --- /dev/null +++ b/net-mgmt/net-snmp/files/patch-memory_freebsd2.c @@ -0,0 +1,11 @@ +--- agent/mibgroup/ucd-snmp/memory_freebsd2.c.orig Mon Sep 17 06:16:16 2001 ++++ agent/mibgroup/ucd-snmp/memory_freebsd2.c Mon Mar 4 10:00:56 2002 +@@ -232,7 +232,7 @@ + size_t total_size = sizeof (total); + int total_mib[] = { CTL_VM, VM_METER }; + +- long phys_mem; ++ u_long phys_mem; + size_t phys_mem_size = sizeof(phys_mem); + int phys_mem_mib[] = { CTL_HW, HW_USERMEM }; + diff --git a/net-mgmt/net-snmp4/Makefile b/net-mgmt/net-snmp4/Makefile index 10e51eb..df4a964 100644 --- a/net-mgmt/net-snmp4/Makefile +++ b/net-mgmt/net-snmp4/Makefile @@ -7,7 +7,7 @@ PORTNAME= ucd-snmp PORTVERSION= 4.2.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net ipv6 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ ftp://ucd-snmp.ucdavis.edu/ \ diff --git a/net-mgmt/net-snmp4/files/patch-memory_freebsd2.c b/net-mgmt/net-snmp4/files/patch-memory_freebsd2.c new file mode 100644 index 0000000..e06a326 --- /dev/null +++ b/net-mgmt/net-snmp4/files/patch-memory_freebsd2.c @@ -0,0 +1,11 @@ +--- agent/mibgroup/ucd-snmp/memory_freebsd2.c.orig Mon Sep 17 06:16:16 2001 ++++ agent/mibgroup/ucd-snmp/memory_freebsd2.c Mon Mar 4 10:00:56 2002 +@@ -232,7 +232,7 @@ + size_t total_size = sizeof (total); + int total_mib[] = { CTL_VM, VM_METER }; + +- long phys_mem; ++ u_long phys_mem; + size_t phys_mem_size = sizeof(phys_mem); + int phys_mem_mib[] = { CTL_HW, HW_USERMEM }; + diff --git a/net-mgmt/net-snmp53/Makefile b/net-mgmt/net-snmp53/Makefile index 10e51eb..df4a964 100644 --- a/net-mgmt/net-snmp53/Makefile +++ b/net-mgmt/net-snmp53/Makefile @@ -7,7 +7,7 @@ PORTNAME= ucd-snmp PORTVERSION= 4.2.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net ipv6 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ ftp://ucd-snmp.ucdavis.edu/ \ diff --git a/net-mgmt/net-snmp53/files/patch-memory_freebsd2.c b/net-mgmt/net-snmp53/files/patch-memory_freebsd2.c new file mode 100644 index 0000000..e06a326 --- /dev/null +++ b/net-mgmt/net-snmp53/files/patch-memory_freebsd2.c @@ -0,0 +1,11 @@ +--- agent/mibgroup/ucd-snmp/memory_freebsd2.c.orig Mon Sep 17 06:16:16 2001 ++++ agent/mibgroup/ucd-snmp/memory_freebsd2.c Mon Mar 4 10:00:56 2002 +@@ -232,7 +232,7 @@ + size_t total_size = sizeof (total); + int total_mib[] = { CTL_VM, VM_METER }; + +- long phys_mem; ++ u_long phys_mem; + size_t phys_mem_size = sizeof(phys_mem); + int phys_mem_mib[] = { CTL_HW, HW_USERMEM }; + diff --git a/net/net-snmp/Makefile b/net/net-snmp/Makefile index 10e51eb..df4a964 100644 --- a/net/net-snmp/Makefile +++ b/net/net-snmp/Makefile @@ -7,7 +7,7 @@ PORTNAME= ucd-snmp PORTVERSION= 4.2.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net ipv6 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ ftp://ucd-snmp.ucdavis.edu/ \ diff --git a/net/net-snmp/files/patch-memory_freebsd2.c b/net/net-snmp/files/patch-memory_freebsd2.c new file mode 100644 index 0000000..e06a326 --- /dev/null +++ b/net/net-snmp/files/patch-memory_freebsd2.c @@ -0,0 +1,11 @@ +--- agent/mibgroup/ucd-snmp/memory_freebsd2.c.orig Mon Sep 17 06:16:16 2001 ++++ agent/mibgroup/ucd-snmp/memory_freebsd2.c Mon Mar 4 10:00:56 2002 +@@ -232,7 +232,7 @@ + size_t total_size = sizeof (total); + int total_mib[] = { CTL_VM, VM_METER }; + +- long phys_mem; ++ u_long phys_mem; + size_t phys_mem_size = sizeof(phys_mem); + int phys_mem_mib[] = { CTL_HW, HW_USERMEM }; + diff --git a/net/net-snmp4/Makefile b/net/net-snmp4/Makefile index 10e51eb..df4a964 100644 --- a/net/net-snmp4/Makefile +++ b/net/net-snmp4/Makefile @@ -7,7 +7,7 @@ PORTNAME= ucd-snmp PORTVERSION= 4.2.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net ipv6 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ ftp://ucd-snmp.ucdavis.edu/ \ diff --git a/net/net-snmp4/files/patch-memory_freebsd2.c b/net/net-snmp4/files/patch-memory_freebsd2.c new file mode 100644 index 0000000..e06a326 --- /dev/null +++ b/net/net-snmp4/files/patch-memory_freebsd2.c @@ -0,0 +1,11 @@ +--- agent/mibgroup/ucd-snmp/memory_freebsd2.c.orig Mon Sep 17 06:16:16 2001 ++++ agent/mibgroup/ucd-snmp/memory_freebsd2.c Mon Mar 4 10:00:56 2002 +@@ -232,7 +232,7 @@ + size_t total_size = sizeof (total); + int total_mib[] = { CTL_VM, VM_METER }; + +- long phys_mem; ++ u_long phys_mem; + size_t phys_mem_size = sizeof(phys_mem); + int phys_mem_mib[] = { CTL_HW, HW_USERMEM }; + |