mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-22 20:41:26 +00:00
Unbreak on -current.
Submitted by: Olivier Houchard <cognet@ci0.org>
This commit is contained in:
parent
0615579738
commit
f68f5986d5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=70252
18
net-mgmt/net-snmp4/files/patch-auto_nlist.c
Normal file
18
net-mgmt/net-snmp4/files/patch-auto_nlist.c
Normal file
@ -0,0 +1,18 @@
|
||||
--- agent/auto_nlist.c.orig Thu Feb 7 20:42:03 2002
|
||||
+++ agent/auto_nlist.c Sun Nov 17 00:40:52 2002
|
||||
@@ -31,6 +31,15 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
+#if HAVE_SYS_PARAM_H
|
||||
+#include <sys/param.h>
|
||||
+#endif
|
||||
+
|
||||
+#if defined(__FreeBSD__) && (__FreeBSD_version >= 500000)
|
||||
+#include <sys/types.h>
|
||||
+#include <sys/time.h>
|
||||
+#endif
|
||||
+
|
||||
#include "auto_nlist.h"
|
||||
#include "autonlist.h"
|
||||
#include "kernel.h"
|
@ -1,5 +1,14 @@
|
||||
--- agent/mibgroup/host/hr_storage.c.orig Mon Mar 18 22:39:56 2002
|
||||
+++ agent/mibgroup/host/hr_storage.c Thu Aug 29 11:54:11 2002
|
||||
+++ agent/mibgroup/host/hr_storage.c Sun Nov 17 00:43:32 2002
|
||||
@@ -32,7 +32,7 @@
|
||||
#else
|
||||
#if HAVE_VM_VM_H
|
||||
#include <vm/vm.h>
|
||||
-#if HAVE_MACHINE_TYPES_H
|
||||
+#if HAVE_MACHINE_TYPES_H && (!defined(__FreeBSD__) || __FreeBSD_version < 500000)
|
||||
#include <machine/types.h>
|
||||
#endif
|
||||
#if HAVE_SYS_VMMETER_H
|
||||
@@ -145,7 +145,7 @@
|
||||
#define HRFS_mount mnt_mountp
|
||||
#define HRFS_statfs statvfs
|
||||
|
18
net/net-snmp4/files/patch-auto_nlist.c
Normal file
18
net/net-snmp4/files/patch-auto_nlist.c
Normal file
@ -0,0 +1,18 @@
|
||||
--- agent/auto_nlist.c.orig Thu Feb 7 20:42:03 2002
|
||||
+++ agent/auto_nlist.c Sun Nov 17 00:40:52 2002
|
||||
@@ -31,6 +31,15 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
+#if HAVE_SYS_PARAM_H
|
||||
+#include <sys/param.h>
|
||||
+#endif
|
||||
+
|
||||
+#if defined(__FreeBSD__) && (__FreeBSD_version >= 500000)
|
||||
+#include <sys/types.h>
|
||||
+#include <sys/time.h>
|
||||
+#endif
|
||||
+
|
||||
#include "auto_nlist.h"
|
||||
#include "autonlist.h"
|
||||
#include "kernel.h"
|
@ -1,5 +1,14 @@
|
||||
--- agent/mibgroup/host/hr_storage.c.orig Mon Mar 18 22:39:56 2002
|
||||
+++ agent/mibgroup/host/hr_storage.c Thu Aug 29 11:54:11 2002
|
||||
+++ agent/mibgroup/host/hr_storage.c Sun Nov 17 00:43:32 2002
|
||||
@@ -32,7 +32,7 @@
|
||||
#else
|
||||
#if HAVE_VM_VM_H
|
||||
#include <vm/vm.h>
|
||||
-#if HAVE_MACHINE_TYPES_H
|
||||
+#if HAVE_MACHINE_TYPES_H && (!defined(__FreeBSD__) || __FreeBSD_version < 500000)
|
||||
#include <machine/types.h>
|
||||
#endif
|
||||
#if HAVE_SYS_VMMETER_H
|
||||
@@ -145,7 +145,7 @@
|
||||
#define HRFS_mount mnt_mountp
|
||||
#define HRFS_statfs statvfs
|
||||
|
Loading…
Reference in New Issue
Block a user