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