projects
/
openwrt
/
svn-archive
/
archive.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
packages/openl2tp: enable config file support (thanks to Bogdan Roman), provide ...
[openwrt/svn-archive/archive.git]
/
net
/
openl2tp
/
patches
/
002-no_libfl.patch
1
--- a/l2tp_config_token.l
2
+++ b/l2tp_config_token.l
3
@@ -23,6 +23,8 @@ static int resolveip(const char *val, st
4
int lineno;
5
int command;
6
7
+int yywrap(void) { return 1; }
8
+
9
%}
10
11
/* common section */
12
--- a/Makefile
13
+++ b/Makefile
14
@@ -204,7 +204,7 @@ ifeq ($(L2TP_FEATURE_LOCAL_CONF_FILE),y)
15
# Config file parser
16
LEX= flex
17
YACC= bison
18
-LDFLAGS.l2tpd+= -lfl
19
+LDFLAGS.l2tpd+=
20
%.c: %.l
21
$(LEX) -o$@ $<
22