From 1e934ed27725ab81b56a7bd4a1128e973419c5e0 Mon Sep 17 00:00:00 2001 From: grant Date: Thu, 11 Nov 2004 11:50:20 +0000 Subject: include some additional header files on FreeBSD >= 5. --- security/ipsec-tools/distinfo | 3 ++- security/ipsec-tools/patches/patch-ac | 21 +++++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 security/ipsec-tools/patches/patch-ac (limited to 'security') diff --git a/security/ipsec-tools/distinfo b/security/ipsec-tools/distinfo index b0d26f3d8aa..e1985b9f646 100644 --- a/security/ipsec-tools/distinfo +++ b/security/ipsec-tools/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.2 2004/11/10 17:26:04 manu Exp $ +$NetBSD: distinfo,v 1.3 2004/11/11 11:50:20 grant Exp $ SHA1 (ipsec-tools-0.5.pre20041109.tar.bz2) = 2e91a2b1adea46facdbdfe70dfcc4aca3cc01913 Size (ipsec-tools-0.5.pre20041109.tar.bz2) = 618629 bytes SHA1 (patch-aa) = fadc2685847af19288782a0fd911dc5accee0fc9 SHA1 (patch-ab) = dd5293512228a02ce8f37f8d1a10fb865cc79aa5 +SHA1 (patch-ac) = 28cbaa97ab1853bb03202c46718c0c72bc4b8fb6 diff --git a/security/ipsec-tools/patches/patch-ac b/security/ipsec-tools/patches/patch-ac new file mode 100644 index 00000000000..d90cd1dc1ce --- /dev/null +++ b/security/ipsec-tools/patches/patch-ac @@ -0,0 +1,21 @@ +$NetBSD: patch-ac,v 1.1 2004/11/11 11:50:20 grant Exp $ + +--- src/racoon/grabmyaddr.c.orig 2004-10-29 21:50:04.000000000 +1000 ++++ src/racoon/grabmyaddr.c +@@ -37,8 +37,14 @@ + #include + + #include +-#if defined(__FreeBSD__) && __FreeBSD__ >= 3 +-#include ++#ifdef __FreeBSD__ ++# if __FreeBSD__ >= 3 ++# include ++# endif ++# if __FreeBSD__ >= 5 ++# include ++# include ++# endif + #endif + #ifdef __NetBSD__ + #include -- cgit v1.2.3