From 1e258b4190e0b4a06f01c13aa33090c107f144a6 Mon Sep 17 00:00:00 2001 From: tron Date: Sun, 7 Aug 2005 22:21:05 +0000 Subject: Fix build problem under platforms were "size_t" is not an integer. --- security/ipsec-tools/distinfo | 3 ++- security/ipsec-tools/patches/patch-aa | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 security/ipsec-tools/patches/patch-aa diff --git a/security/ipsec-tools/distinfo b/security/ipsec-tools/distinfo index 4c99ba9a428..d28b336d620 100644 --- a/security/ipsec-tools/distinfo +++ b/security/ipsec-tools/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.9 2005/08/05 12:04:33 tron Exp $ +$NetBSD: distinfo,v 1.10 2005/08/07 22:21:05 tron Exp $ SHA1 (ipsec-tools-0.6.1rc1.tar.bz2) = 2ed2692165b1d59074e00d9f3465ed7e416d5b78 RMD160 (ipsec-tools-0.6.1rc1.tar.bz2) = 985a15f0a004985c22d6d4a55fbeb786291f4d74 Size (ipsec-tools-0.6.1rc1.tar.bz2) = 663281 bytes +SHA1 (patch-aa) = 0f6d9495cb4b644883274ae9985e6648630a7252 diff --git a/security/ipsec-tools/patches/patch-aa b/security/ipsec-tools/patches/patch-aa new file mode 100644 index 00000000000..15274e19535 --- /dev/null +++ b/security/ipsec-tools/patches/patch-aa @@ -0,0 +1,15 @@ +$NetBSD: patch-aa,v 1.3 2005/08/07 22:21:05 tron Exp $ + +--- src/racoon/privsep.c.orig 2005-06-04 23:08:15.000000000 +0100 ++++ src/racoon/privsep.c 2005-08-07 22:35:41.000000000 +0100 +@@ -912,8 +912,8 @@ + { + if ((port < 0) || (port >= isakmp_cfg_config.pool_size)) { + plog(LLV_ERROR, LOCATION, NULL, +- "privsep: port %d outsied of allowed range [0,%d]\n", +- port, isakmp_cfg_config.pool_size - 1); ++ "privsep: port %d outside of allowed range [0,%d]\n", ++ port, (int)isakmp_cfg_config.pool_size - 1); + return -1; + } + -- cgit v1.2.3