aboutsummaryrefslogtreecommitdiff
path: root/net/ipsec-tools/patches/001-no_libfl.patch
blob: b56b596ba28856eac5930e9b2b2856e4db1b3055 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- a/src/racoon/cftoken.l
+++ b/src/racoon/cftoken.l
@@ -104,6 +104,8 @@ static struct include_stack {
 static int incstackp = 0;
 
 static int yy_first_time = 1;
+
+int yywrap(void) { return 1; }
 %}
 
 /* common seciton */
--- a/src/setkey/token.l
+++ b/src/setkey/token.l
@@ -86,6 +86,8 @@
 #if defined(SADB_X_EALG_AES) && ! defined(SADB_X_EALG_AESCBC)
 #define SADB_X_EALG_AESCBC  SADB_X_EALG_AES
 #endif
+
+int yywrap(void) { return 1; }
 %}
 
 /* common section */