summaryrefslogtreecommitdiff
path: root/net/quagga/files/patch-configure.ac
diff options
context:
space:
mode:
authorNiels Heinen <niels@FreeBSD.org>2010-08-25 08:00:03 +0000
committerNiels Heinen <niels@FreeBSD.org>2010-08-25 08:00:03 +0000
commitc3f03316b9c1e53f304b5910fadea730c8699555 (patch)
tree1401cb0f4a9054df40c32b9a0a40bbb9a9098f5e /net/quagga/files/patch-configure.ac
parent- Update to 2.1.1 (diff)
- Security update to version 0.99.17
- This update also resolves functional problems of PR 148238 and 147970 PR: ports/149940 PR: ports/148238 PR: ports/147970 Approved by: itetcu (mentor, implicit), maintainer Submitted by: mike@sentex.net, maintainer Security: 167953a4-b01c-11df-9a98-0015587e2cc1 Security: http://www.openwall.com/lists/oss-security/2010/08/24/3
Diffstat (limited to 'net/quagga/files/patch-configure.ac')
-rw-r--r--net/quagga/files/patch-configure.ac57
1 files changed, 57 insertions, 0 deletions
diff --git a/net/quagga/files/patch-configure.ac b/net/quagga/files/patch-configure.ac
new file mode 100644
index 000000000000..90103c026843
--- /dev/null
+++ b/net/quagga/files/patch-configure.ac
@@ -0,0 +1,57 @@
+--- configure.ac.orig 2010-08-19 11:36:29.000000000 +0200
++++ configure.ac 2010-08-25 09:06:04.000000000 +0200
+@@ -443,20 +443,6 @@
+ #endif /* TIME_WITH_SYS_TIME */
+ ])dnl
+
+-AC_CHECK_HEADERS([sys/un.h net/if.h netinet/in_systm.h netinet/in_var.h \
+- net/if_dl.h net/if_var.h net/netopt.h net/route.h \
+- inet/nd.h arpa/inet.h netinet/ip_icmp.h \
+- fcntl.h stddef.h sys/ioctl.h syslog.h wchar.h wctype.h \
+- sys/sysctl.h sys/sockio.h kvm.h sys/conf.h],
+- [], [], QUAGGA_INCLUDES)
+-
+-AC_CHECK_HEADERS([ucontext.h], [], [],
+-[#ifndef __USE_GNU
+-#define __USE_GNU
+-#endif /* __USE_GNU */
+-QUAGGA_INCLUDES
+-])
+-
+ m4_define([QUAGGA_INCLUDES],
+ QUAGGA_INCLUDES
+ [#if HAVE_NET_IF_H
+@@ -474,9 +460,6 @@
+ #if HAVE_NET_IF_DL_H
+ # include <net/if_dl.h>
+ #endif
+-#if HAVE_NET_IF_VAR_H
+-# include <net/if_var.h>
+-#endif
+ #if HAVE_NET_NETOPT_H
+ # include <net/netopt.h>
+ #endif
+@@ -493,8 +476,23 @@
+ #if HAVE_NETINET_IP_ICMP_H
+ # include <netinet/ip_icmp.h>
+ #endif
++#include <security/pam_types.h>
+ ])dnl
+
++AC_CHECK_HEADERS([sys/un.h net/if.h net/if_var.h net/if_dl.h \
++ netinet/in_systm.h netinet/in_var.h net/netopt.h net/route.h \
++ inet/nd.h arpa/inet.h netinet/ip_icmp.h \
++ fcntl.h stddef.h sys/ioctl.h syslog.h wchar.h wctype.h \
++ sys/sysctl.h sys/sockio.h kvm.h sys/conf.h],
++ [], [], QUAGGA_INCLUDES)
++
++AC_CHECK_HEADERS([ucontext.h], [], [],
++[#ifndef __USE_GNU
++#define __USE_GNU
++#endif /* __USE_GNU */
++QUAGGA_INCLUDES
++])
++
+ dnl V6 headers are checked below, after we check for v6
+
+ dnl Some systems (Solaris 2.x) require libnsl (Network Services Library)