summaryrefslogtreecommitdiffstats
path: root/package/ipsec-tools/patches/001-no_libfl.patch
blob: 8abc9a07ed0379103b562c3eed5614c887d8b732 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Index: ipsec-tools-0.6.6/src/racoon/cftoken.l
===================================================================
--- ipsec-tools-0.6.6.orig/src/racoon/cftoken.l	2007-06-04 13:22:36.567296208 +0200
+++ ipsec-tools-0.6.6/src/racoon/cftoken.l	2007-06-04 13:22:36.646284200 +0200
@@ -105,6 +105,8 @@
 static int incstackp = 0;
 
 static int yy_first_time = 1;
+
+int yywrap(void) { return 1; }
 %}
 
 /* common seciton */
Index: ipsec-tools-0.6.6/src/setkey/token.l
===================================================================
--- ipsec-tools-0.6.6.orig/src/setkey/token.l	2007-06-04 13:22:36.575294992 +0200
+++ ipsec-tools-0.6.6/src/setkey/token.l	2007-06-04 13:22:36.646284200 +0200
@@ -84,6 +84,8 @@
 #ifndef SADB_X_EALG_AESCTR
 #define SADB_X_EALG_AESCTR	(-1)
 #endif
+
+int yywrap(void) { return 1; }
 %}
 
 /* common section */