summaryrefslogtreecommitdiffstats
path: root/package/openswan/openswan-2.4.9-006-linux-include.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/openswan/openswan-2.4.9-006-linux-include.patch')
-rw-r--r--package/openswan/openswan-2.4.9-006-linux-include.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/openswan/openswan-2.4.9-006-linux-include.patch b/package/openswan/openswan-2.4.9-006-linux-include.patch
new file mode 100644
index 000000000..7b0595159
--- /dev/null
+++ b/package/openswan/openswan-2.4.9-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 */