summaryrefslogtreecommitdiffstats
path: root/net/openl2tp/patches/002-no_libfl.patch
blob: ae1dc6a252e4b391ca4acce45e49f811132766ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- a/l2tp_config_token.l
+++ b/l2tp_config_token.l
@@ -23,6 +23,8 @@ static int resolveip(const char *val, st
 int lineno;
 int command;
 
+int yywrap(void) { return 1; }
+
 %}
 
 /* common section */
--- a/Makefile
+++ b/Makefile
@@ -204,7 +204,7 @@ ifeq ($(L2TP_FEATURE_LOCAL_CONF_FILE),y)
 # Config file parser
 LEX=			flex
 YACC=			bison
-LDFLAGS.l2tpd+=		-lfl
+LDFLAGS.l2tpd+=
 %.c:	%.l
 			$(LEX) -o$@ $<