summaryrefslogtreecommitdiff
path: root/openwrt/package/ipsec-tools/patches/01-no_libfl.patch
blob: c842e229ed2f3b108cc9a750f3f71adefe5990c7 (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
diff -ruN ipsec-tools-0.6.3-old/src/racoon/cftoken.l ipsec-tools-0.6.3-new/src/racoon/cftoken.l
--- ipsec-tools-0.6.3-old/src/racoon/cftoken.l	2005-11-06 18:18:26.000000000 +0100
+++ ipsec-tools-0.6.3-new/src/racoon/cftoken.l	2005-12-09 01:27:27.000000000 +0100
@@ -105,6 +105,8 @@
 static int incstackp = 0;
 
 static int yy_first_time = 1;
+
+int yywrap(void) { return 1; }
 %}
 
 /* common seciton */
diff -ruN ipsec-tools-0.6.3-old/src/setkey/token.l ipsec-tools-0.6.3-new/src/setkey/token.l
--- ipsec-tools-0.6.3-old/src/setkey/token.l	2005-06-29 15:01:30.000000000 +0200
+++ ipsec-tools-0.6.3-new/src/setkey/token.l	2005-12-09 01:27:31.000000000 +0100
@@ -84,6 +84,8 @@
 #ifndef SADB_X_EALG_AESCTR
 #define SADB_X_EALG_AESCTR	(-1)
 #endif
+
+int yywrap(void) { return 1; }
 %}
 
 /* common section */