summaryrefslogtreecommitdiff
path: root/package/openswan/openswan-2.4.7-004-alloc.patch
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-11-28 16:59:17 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-11-28 16:59:17 +0000
commitccd252b55369d9a74e515ec5445899ca3ad786b0 (patch)
treebcc33596b55bbdafbcf69d8a144e57459052f3a9 /package/openswan/openswan-2.4.7-004-alloc.patch
parent3a65d24db5d239a2f9273cc4af87f292ef4414e9 (diff)
- add openswan support. Compile tested only. Closes #200.
Diffstat (limited to 'package/openswan/openswan-2.4.7-004-alloc.patch')
-rw-r--r--package/openswan/openswan-2.4.7-004-alloc.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/openswan/openswan-2.4.7-004-alloc.patch b/package/openswan/openswan-2.4.7-004-alloc.patch
new file mode 100644
index 000000000..8df99234a
--- /dev/null
+++ b/package/openswan/openswan-2.4.7-004-alloc.patch
@@ -0,0 +1,12 @@
+--- openswan-2.4.7.orig/lib/libopenswan/alloc.c 2004-10-17 01:42:13.000000000 +0200
++++ openswan-2.4.7/lib/libopenswan/alloc.c 2006-11-28 16:06:27.000000000 +0100
+@@ -26,7 +26,9 @@
+ #include "constants.h"
+ #include "oswlog.h"
+
++#if !defined(NO_DEBUG)
+ #define LEAK_DETECTIVE
++#endif
+ #include "oswalloc.h"
+
+ const chunk_t empty_chunk = { NULL, 0 };