From 16f60533f7c82f156842423681d39d04f08b078c Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Fri, 15 Dec 2006 16:56:08 +0000 Subject: update openswan to 2.4.7, fix 2.6.19 build SVN-Revision: 5801 --- package/openswan/patches/130-linux_2.6.19_api_changes.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 package/openswan/patches/130-linux_2.6.19_api_changes.patch (limited to 'package/openswan/patches/130-linux_2.6.19_api_changes.patch') diff --git a/package/openswan/patches/130-linux_2.6.19_api_changes.patch b/package/openswan/patches/130-linux_2.6.19_api_changes.patch new file mode 100644 index 0000000..a9e6801 --- /dev/null +++ b/package/openswan/patches/130-linux_2.6.19_api_changes.patch @@ -0,0 +1,12 @@ +diff -bruN openswan-2.4.7-old/linux/net/ipsec/pfkey_v2.c openswan-2.4.7-new/linux/net/ipsec/pfkey_v2.c +--- openswan-2.4.7-old/linux/net/ipsec/pfkey_v2.c 2006-10-10 22:43:28.000000000 +0200 ++++ openswan-2.4.7-new/linux/net/ipsec/pfkey_v2.c 2006-12-15 17:29:02.000000000 +0100 +@@ -1503,7 +1503,7 @@ + + printk(KERN_INFO "klips_info:pfkey_cleanup: " + "shutting down PF_KEY domain sockets.\n"); +- error |= sock_unregister(PF_KEY); ++ sock_unregister(PF_KEY); + + error |= supported_remove_all(SADB_SATYPE_AH); + error |= supported_remove_all(SADB_SATYPE_ESP); -- cgit v1.1