diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-11-28 16:59:17 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-11-28 16:59:17 +0000 |
commit | ccd252b55369d9a74e515ec5445899ca3ad786b0 (patch) | |
tree | bcc33596b55bbdafbcf69d8a144e57459052f3a9 /package/openswan/openswan-2.4.7-006-linux-include.patch | |
parent | 3a65d24db5d239a2f9273cc4af87f292ef4414e9 (diff) |
- add openswan support. Compile tested only. Closes #200.
Diffstat (limited to 'package/openswan/openswan-2.4.7-006-linux-include.patch')
-rw-r--r-- | package/openswan/openswan-2.4.7-006-linux-include.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/package/openswan/openswan-2.4.7-006-linux-include.patch b/package/openswan/openswan-2.4.7-006-linux-include.patch new file mode 100644 index 000000000..7b0595159 --- /dev/null +++ b/package/openswan/openswan-2.4.7-006-linux-include.patch @@ -0,0 +1,12 @@ +diff -urp openswan-2.4.7.orig/linux/include/openswan/passert.h openswan-2.4.7/linux/include/openswan/passert.h +--- openswan-2.4.7.orig/linux/include/openswan/passert.h 2004-10-21 20:44:42.000000000 +0200 ++++ openswan-2.4.7/linux/include/openswan/passert.h 2006-11-28 17:50:03.000000000 +0100 +@@ -69,7 +69,7 @@ extern void switch_fail(int n + # define bad_case(n) abort() + # define passert(pred) { } /* do nothing */ + # define happy(x) { (void) x; } /* evaluate non-judgementally */ +- ++# define pexpect(x) do { } while(0) + #endif /*!DEBUG*/ + + #endif /* _OPENSWAN_PASSERT_H */ |