summaryrefslogtreecommitdiffstats
path: root/package/openswan/openswan-2.4.9-003-spi.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/openswan/openswan-2.4.9-003-spi.patch')
-rw-r--r--package/openswan/openswan-2.4.9-003-spi.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/openswan/openswan-2.4.9-003-spi.patch b/package/openswan/openswan-2.4.9-003-spi.patch
new file mode 100644
index 000000000..438e20972
--- /dev/null
+++ b/package/openswan/openswan-2.4.9-003-spi.patch
@@ -0,0 +1,12 @@
+--- openswan-2.4.7.orig/programs/spi/spi.c 2006-02-15 05:36:36.000000000 +0100
++++ openswan-2.4.7/programs/spi/spi.c 2006-11-28 15:52:41.000000000 +0100
+@@ -538,7 +538,9 @@ main(int argc, char *argv[])
+ case 'g':
+ debug = 1;
+ pfkey_lib_debug = PF_KEY_DEBUG_PARSE_MAX;
++#if !defined(NO_DEBUG)
+ cur_debugging = 0xffffffff;
++#endif
+ argcount--;
+ break;
+