diff options
-rw-r--r-- | net-mgmt/net-snmp-devel/files/patch-diskio.c | 15 | ||||
-rw-r--r-- | net-mgmt/net-snmp-devel/files/patch-vmstat_freebsd2.c | 14 | ||||
-rw-r--r-- | net-mgmt/net-snmp/files/patch-diskio.c | 15 | ||||
-rw-r--r-- | net-mgmt/net-snmp/files/patch-vmstat_freebsd2.c | 14 | ||||
-rw-r--r-- | net-mgmt/net-snmp53/files/patch-diskio.c | 15 | ||||
-rw-r--r-- | net-mgmt/net-snmp53/files/patch-vmstat_freebsd2.c | 14 | ||||
-rw-r--r-- | net/net-snmp/files/patch-diskio.c | 15 | ||||
-rw-r--r-- | net/net-snmp/files/patch-vmstat_freebsd2.c | 14 |
8 files changed, 116 insertions, 0 deletions
diff --git a/net-mgmt/net-snmp-devel/files/patch-diskio.c b/net-mgmt/net-snmp-devel/files/patch-diskio.c new file mode 100644 index 0000000..bbb0da6 --- /dev/null +++ b/net-mgmt/net-snmp-devel/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-mgmt/net-snmp-devel/files/patch-vmstat_freebsd2.c b/net-mgmt/net-snmp-devel/files/patch-vmstat_freebsd2.c new file mode 100644 index 0000000..7e64f39 --- /dev/null +++ b/net-mgmt/net-snmp-devel/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 diff --git a/net-mgmt/net-snmp/files/patch-diskio.c b/net-mgmt/net-snmp/files/patch-diskio.c new file mode 100644 index 0000000..bbb0da6 --- /dev/null +++ b/net-mgmt/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-mgmt/net-snmp/files/patch-vmstat_freebsd2.c b/net-mgmt/net-snmp/files/patch-vmstat_freebsd2.c new file mode 100644 index 0000000..7e64f39 --- /dev/null +++ b/net-mgmt/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 diff --git a/net-mgmt/net-snmp53/files/patch-diskio.c b/net-mgmt/net-snmp53/files/patch-diskio.c new file mode 100644 index 0000000..bbb0da6 --- /dev/null +++ b/net-mgmt/net-snmp53/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-mgmt/net-snmp53/files/patch-vmstat_freebsd2.c b/net-mgmt/net-snmp53/files/patch-vmstat_freebsd2.c new file mode 100644 index 0000000..7e64f39 --- /dev/null +++ b/net-mgmt/net-snmp53/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 diff --git a/net/net-snmp/files/patch-diskio.c b/net/net-snmp/files/patch-diskio.c new file mode 100644 index 0000000..bbb0da6 --- /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 0000000..7e64f39 --- /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 |