liblo: moved to github
[openwrt.org/packages.git] / net / 001-no_libfl.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- 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 */
 
comments