summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2005-08-07 22:21:05 +0000
committertron <tron@pkgsrc.org>2005-08-07 22:21:05 +0000
commit1e258b4190e0b4a06f01c13aa33090c107f144a6 (patch)
treec1ed6bf22664aa22d9884391d58d3876bb825322
parent0680c23678158103ecd6ac3bec08ba0ad37b732a (diff)
downloadpkgsrc-1e258b4190e0b4a06f01c13aa33090c107f144a6.tar.gz
Fix build problem under platforms were "size_t" is not an integer.
-rw-r--r--security/ipsec-tools/distinfo3
-rw-r--r--security/ipsec-tools/patches/patch-aa15
2 files changed, 17 insertions, 1 deletions
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;
+ }
+