diff options
author | billf <billf@FreeBSD.org> | 2000-05-13 04:21:27 +0800 |
---|---|---|
committer | billf <billf@FreeBSD.org> | 2000-05-13 04:21:27 +0800 |
commit | a4df77b2a4b63ac2e8e27a15233be4e10b1f543f (patch) | |
tree | 5a7039669a50939081869c4233c2b558f9efaeac /net-mgmt/net-snmp-devel/files | |
parent | 825db43f95c6061e3167d7db587fe208e027f89f (diff) | |
download | freebsd-ports-gnome-a4df77b2a4b63ac2e8e27a15233be4e10b1f543f.tar.gz freebsd-ports-gnome-a4df77b2a4b63ac2e8e27a15233be4e10b1f543f.tar.zst freebsd-ports-gnome-a4df77b2a4b63ac2e8e27a15233be4e10b1f543f.zip |
First crack at updating to 4.1.1, more features to come, but at least
the newest version is here.
Diffstat (limited to 'net-mgmt/net-snmp-devel/files')
-rw-r--r-- | net-mgmt/net-snmp-devel/files/patch-ad | 4 | ||||
-rw-r--r-- | net-mgmt/net-snmp-devel/files/patch-af | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/net-mgmt/net-snmp-devel/files/patch-ad b/net-mgmt/net-snmp-devel/files/patch-ad index f47168018a61..6f28af0a528f 100644 --- a/net-mgmt/net-snmp-devel/files/patch-ad +++ b/net-mgmt/net-snmp-devel/files/patch-ad @@ -4,7 +4,7 @@ physaddrbuf = 0; } ifm = (struct if_msghdr *)rtm; -+#if defined(freebsd3) || defined(freebsd4) ++#if defined(freebsd3) || defined(freebsd4) || defined(freebsd5) + if (physaddrs != 0) physaddrs[naddrs] = (void*)(ifm + 1); + naddrs++; +#endif @@ -12,7 +12,7 @@ cp += ifm->ifm_msglen; rtm = (struct rt_msghdr *)cp; while (ilen > 0 && rtm->rtm_type == RTM_NEWADDR) { -+#if defined(freebsd3) || defined(freebsd4) ++#if defined(freebsd3) || defined(freebsd4) || defined(freebsd5) + ilen -= rtm->rtm_msglen; + cp += rtm->rtm_msglen; +#else diff --git a/net-mgmt/net-snmp-devel/files/patch-af b/net-mgmt/net-snmp-devel/files/patch-af index 2f197dc4c0c0..546933895230 100644 --- a/net-mgmt/net-snmp-devel/files/patch-af +++ b/net-mgmt/net-snmp-devel/files/patch-af @@ -1,12 +1,14 @@ --- agent/mibgroup/ucd_snmp.h.orig Fri Feb 26 03:03:41 1999 +++ agent/mibgroup/ucd_snmp.h Sun Apr 4 13:52:23 1999 -@@ -18,5 +18,9 @@ +@@ -18,5 +18,11 @@ config_arch_require(bsdi3, ucd-snmp/memory) config_arch_require(linux, ucd-snmp/vmstat) config_arch_require(freebsd2, ucd-snmp/vmstat_freebsd2) +config_arch_require(freebsd3, ucd-snmp/vmstat_freebsd2) +config_arch_require(freebsd4, ucd-snmp/vmstat_freebsd2) ++config_arch_require(freebsd5, ucd-snmp/vmstat_freebsd2) config_arch_require(freebsd2, ucd-snmp/memory_freebsd2) +config_arch_require(freebsd3, ucd-snmp/memory_freebsd2) +config_arch_require(freebsd4, ucd-snmp/memory_freebsd2) ++config_arch_require(freebsd5, ucd-snmp/memory_freebsd2) config_add_mib(UCD-SNMP-MIB) |