aboutsummaryrefslogtreecommitdiffstats
path: root/main/ipsec-tools/fix-yywrap.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/ipsec-tools/fix-yywrap.patch')
-rw-r--r--main/ipsec-tools/fix-yywrap.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/main/ipsec-tools/fix-yywrap.patch b/main/ipsec-tools/fix-yywrap.patch
new file mode 100644
index 0000000000..0a9ff37492
--- /dev/null
+++ b/main/ipsec-tools/fix-yywrap.patch
@@ -0,0 +1,23 @@
+--- ipsec-tools-0.8.2.orig/src/racoon/cftoken.l 2014-04-15 14:47:11.000000000 -0300
++++ ipsec-tools-0.8.2/src/racoon/cftoken.l 2014-04-15 18:49:14.589422339 -0300
+@@ -110,6 +110,8 @@
+ static int yy_first_time = 1;
+ %}
+
++%option noyywrap
++
+ /* common seciton */
+ nl \n
+ ws [ \t]+
+diff -ru ipsec-tools-0.8.2.orig/src/setkey/token.l ipsec-tools-0.8.2/src/setkey/token.l
+--- ipsec-tools-0.8.2.orig/src/setkey/token.l 2012-08-23 14:10:46.000000000 -0300
++++ ipsec-tools-0.8.2/src/setkey/token.l 2014-04-15 18:48:11.023100041 -0300
+@@ -111,7 +111,7 @@
+
+ %s S_PL S_AUTHALG S_ENCALG
+
+-%option noinput nounput
++%option noinput nounput noyywrap
+ %%
+
+