diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2003-02-19 23:20:08 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2003-02-19 23:20:08 +0000 |
commit | 99f6f324e248edf72bd3fa5e998a3f111de05b99 (patch) | |
tree | 731b862fd78f8c4341c54bca0b946dd4c6a9ef8e /net/net-snmp | |
parent | 70aa0f66d9f8b9674dcdcce742df819bc10000f6 (diff) | |
download | ports-99f6f324e248edf72bd3fa5e998a3f111de05b99.tar.gz ports-99f6f324e248edf72bd3fa5e998a3f111de05b99.zip |
Notes
Diffstat (limited to 'net/net-snmp')
-rw-r--r-- | net/net-snmp/files/patch-diskio.c | 15 | ||||
-rw-r--r-- | net/net-snmp/files/patch-vmstat_freebsd2.c | 14 |
2 files changed, 29 insertions, 0 deletions
diff --git a/net/net-snmp/files/patch-diskio.c b/net/net-snmp/files/patch-diskio.c new file mode 100644 index 000000000000..bbb0da6192ee --- /dev/null +++ b/net/net-snmp/files/patch-diskio.c @@ -0,0 +1,15 @@ +--- agent/mibgroup/ucd-snmp/diskio.c.orig Mon May 20 03:38:58 2002 ++++ agent/mibgroup/ucd-snmp/diskio.c Thu Feb 20 07:53:08 2003 +@@ -49,7 +49,12 @@ + #endif /* bsdi */ + + #if defined (freebsd4) || defined(freebsd5) ++#include <sys/param.h> ++#if __FreeBSD_version >= 500101 ++#include <sys/resource.h> ++#else + #include <sys/dkstat.h> ++#endif + #include <devstat.h> + #endif /* freebsd */ + diff --git a/net/net-snmp/files/patch-vmstat_freebsd2.c b/net/net-snmp/files/patch-vmstat_freebsd2.c new file mode 100644 index 000000000000..7e64f3979bcf --- /dev/null +++ b/net/net-snmp/files/patch-vmstat_freebsd2.c @@ -0,0 +1,14 @@ +--- agent/mibgroup/ucd-snmp/vmstat_freebsd2.c.orig Thu May 23 17:39:41 2002 ++++ agent/mibgroup/ucd-snmp/vmstat_freebsd2.c Thu Feb 20 08:08:20 2003 +@@ -10,7 +10,11 @@ + #include <sys/param.h> + #include <sys/time.h> + #include <sys/proc.h> ++#if defined(freebsd5) && __FreeBSD_version >= 500101 ++#include <sys/resource.h> ++#else + #include <sys/dkstat.h> ++#endif + #ifdef freebsd5 + #include <sys/bio.h> + #endif |