aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/net-snmp53/files/patch-configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/net-snmp53/files/patch-configure.in')
-rw-r--r--net-mgmt/net-snmp53/files/patch-configure.in38
1 files changed, 0 insertions, 38 deletions
diff --git a/net-mgmt/net-snmp53/files/patch-configure.in b/net-mgmt/net-snmp53/files/patch-configure.in
deleted file mode 100644
index 172adf21bf2b..000000000000
--- a/net-mgmt/net-snmp53/files/patch-configure.in
+++ /dev/null
@@ -1,38 +0,0 @@
---- configure.in.orig Tue Nov 29 14:16:55 2005
-+++ configure.in Wed Nov 30 11:49:24 2005
-@@ -2075,7 +2075,7 @@
- # fall back
- CFLAG="-f"
- fi
--for i in /vmunix /hp-ux /stand/vmunix /dev/ksyms /kernel/unix /kernel/genunix /netbsd /unix /kernel /bsd /mach_kernel
-+for i in /vmunix /hp-ux /stand/vmunix /dev/ksyms /kernel/unix /kernel/genunix /netbsd /unix /kernel /bsd /mach_kernel /boot/kernel/kernel /dev/null
- do
- if test -f $i -o $CFLAG $i; then
- ac_cv_KERNEL_LOC="$i"
-@@ -2989,6 +2989,26 @@
- # checking for 4.3 vs 4.4 rtentry.
- AC_CACHE_CHECK(type of rtentry structure,ac_cv_RTENTRY_TYPE,
- [
-+
-+dnl 4.4 compatible but renamed on FreeBSD
-+AC_TRY_COMPILE([
-+#include <sys/types.h>
-+#define KERNEL
-+#define _KERNEL
-+#include <sys/socket.h>
-+#undef KERNEL
-+#undef _KERNEL
-+#include <net/route.h>
-+],[
-+
-+#ifndef STRUCT_RTENTRY_HAS_RT_DST
-+#define rt_dst rt_nodes->rn_key
-+#endif
-+
-+ struct rtentry rt;
-+ rt.rt_nodes[0].rn_bit = 1;
-+ rt.rt_dst;
-+ ], ac_cv_RTENTRY_TYPE="BSD-4.4")
-
- # 4.4 compat
- AC_TRY_COMPILE([