summaryrefslogtreecommitdiff
path: root/package/ipsec-tools/patches/patch-src_racoon_isakmp_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-09-05 12:40:39 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-09-05 12:40:39 +0200
commitab2e60fec20c7e01348463629a940f01ead256c0 (patch)
treef02cb819bf349afce323dc888f0c59699b4ab3fe /package/ipsec-tools/patches/patch-src_racoon_isakmp_c
parentbae9b65aca99c5ae417a714dc3b2aff2b6dcbac5 (diff)
parent36c9d3691e0fdc8c661b2471d34f053e3cce8efe (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/ipsec-tools/patches/patch-src_racoon_isakmp_c')
-rw-r--r--package/ipsec-tools/patches/patch-src_racoon_isakmp_c21
1 files changed, 21 insertions, 0 deletions
diff --git a/package/ipsec-tools/patches/patch-src_racoon_isakmp_c b/package/ipsec-tools/patches/patch-src_racoon_isakmp_c
new file mode 100644
index 000000000..fdf5356fc
--- /dev/null
+++ b/package/ipsec-tools/patches/patch-src_racoon_isakmp_c
@@ -0,0 +1,21 @@
+--- ipsec-tools-0.8.0.orig/src/racoon/isakmp.c 2011-03-15 14:20:14.000000000 +0100
++++ ipsec-tools-0.8.0/src/racoon/isakmp.c 2011-08-24 18:48:47.887978959 +0200
+@@ -33,6 +33,10 @@
+
+ #include "config.h"
+
++#ifndef __packed
++#define __packed __attribute__((packed))
++#endif
++
+ #include <sys/types.h>
+ #include <sys/param.h>
+ #include <sys/socket.h>
+@@ -130,6 +134,7 @@
+ # define SOL_UDP IPPROTO_UDP
+ # endif /* __NetBSD__ / __FreeBSD__ */
+
++
+ static int nostate1 __P((struct ph1handle *, vchar_t *));
+ static int nostate2 __P((struct ph2handle *, vchar_t *));
+