summaryrefslogtreecommitdiff
path: root/security/racoon/patches
diff options
context:
space:
mode:
authoritojun <itojun@pkgsrc.org>2001-08-02 12:44:18 +0000
committeritojun <itojun@pkgsrc.org>2001-08-02 12:44:18 +0000
commit1649deedd06e7ce33f53d560bb79b4c800ddbce2 (patch)
treef82f98d3558bfeb4703f8abcbc9cc1b0df75e9e9 /security/racoon/patches
parentfbd1cf149768a342d233bd8d68484750a6fd196e (diff)
downloadpkgsrc-1649deedd06e7ce33f53d560bb79b4c800ddbce2.tar.gz
make it at least compile on netbsd151 systems. kernel API diffs should be
wrapped by configure.in scripts, however, we don't use them for libipsec part.
Diffstat (limited to 'security/racoon/patches')
-rw-r--r--security/racoon/patches/patch-ae16
-rw-r--r--security/racoon/patches/patch-af14
2 files changed, 30 insertions, 0 deletions
diff --git a/security/racoon/patches/patch-ae b/security/racoon/patches/patch-ae
new file mode 100644
index 00000000000..66fed09eb1c
--- /dev/null
+++ b/security/racoon/patches/patch-ae
@@ -0,0 +1,16 @@
+$NetBSD: patch-ae,v 1.9 2001/08/02 12:44:18 itojun Exp $
+
+--- ../libipsec/key_debug.c- Thu Aug 2 21:38:17 2001
++++ ../libipsec/key_debug.c Thu Aug 2 21:38:44 2001
+@@ -392,9 +392,8 @@
+
+ printf("sadb_x_sa2{ mode=%u reqid=%u\n",
+ sa2->sadb_x_sa2_mode, sa2->sadb_x_sa2_reqid);
+- printf(" reserved1=%u reserved2=%u sequence=%u }\n",
+- sa2->sadb_x_sa2_reserved1, sa2->sadb_x_sa2_reserved2,
+- sa2->sadb_x_sa2_sequence);
++ printf(" reserved1=%u reserved2=%u }\n",
++ sa2->sadb_x_sa2_reserved1, sa2->sadb_x_sa2_reserved2);
+
+ return;
+ }
diff --git a/security/racoon/patches/patch-af b/security/racoon/patches/patch-af
new file mode 100644
index 00000000000..d4563bc11a4
--- /dev/null
+++ b/security/racoon/patches/patch-af
@@ -0,0 +1,14 @@
+$NetBSD: patch-af,v 1.1 2001/08/02 12:44:18 itojun Exp $
+
+--- ../libipsec/pfkey_dump.c- Thu Aug 2 21:38:21 2001
++++ ../libipsec/pfkey_dump.c Thu Aug 2 21:38:34 2001
+@@ -299,8 +299,7 @@
+ }
+
+ /* replay windoe size & flags */
+- printf("\tseq=0x%08x replay=%u flags=0x%08x ",
+- m_sa2->sadb_x_sa2_sequence,
++ printf("\treplay=%u flags=0x%08x ",
+ m_sa->sadb_sa_replay,
+ m_sa->sadb_sa_flags);
+