diff options
author | kuriyama <kuriyama@FreeBSD.org> | 2003-02-20 07:20:08 +0800 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 2003-02-20 07:20:08 +0800 |
commit | bd48b6e3a9d193fe4c6be87118f57b18956a1e5b (patch) | |
tree | a8665620a38b9f76ad53dd77d3f603dc6a6150a4 /net-mgmt | |
parent | c4d068e154fdcc120845b81ed013e8fbc532a4e2 (diff) | |
download | freebsd-ports-gnome-bd48b6e3a9d193fe4c6be87118f57b18956a1e5b.tar.gz freebsd-ports-gnome-bd48b6e3a9d193fe4c6be87118f57b18956a1e5b.tar.zst freebsd-ports-gnome-bd48b6e3a9d193fe4c6be87118f57b18956a1e5b.zip |
Unbreak after __FreeBSD_version >= 500101.
Diffstat (limited to 'net-mgmt')
-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 |
6 files changed, 87 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 000000000000..bbb0da6192ee --- /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 000000000000..7e64f3979bcf --- /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 000000000000..bbb0da6192ee --- /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 000000000000..7e64f3979bcf --- /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 000000000000..bbb0da6192ee --- /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 000000000000..7e64f3979bcf --- /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 |