[patchteam] upgrade mosquitto MQTT tools from 0.13 to 0.14.4 - Signed-off-by: Karl...
[openwrt/svn-archive/archive.git] / net / unfs3 / patches / 100-no_lfl.patch
1 --- a/Config/lex.yy.c
2 +++ b/Config/lex.yy.c
3 @@ -445,9 +445,15 @@ static void copy_text(const char *from,
4
5 #ifndef YY_SKIP_YYWRAP
6 #ifdef __cplusplus
7 -extern "C" int yywrap YY_PROTO(( void ));
8 -#else
9 -extern int yywrap YY_PROTO(( void ));
10 +/* extern "C" int yywrap YY_PROTO(( void )); */
11 +int yywrap (void ) {
12 + return 1;
13 +}
14 +#else
15 +/* extern int yywrap YY_PROTO(( void )); */
16 +int yywrap (void ) {
17 + return 1;
18 +}
19 #endif
20 #endif
21
22 --- a/Makefile.in
23 +++ b/Makefile.in
24 @@ -12,7 +12,7 @@ OBJS = attr.o daemon.o error.o fd_cache.
25 md5.o mount.o nfs.o password.o readdir.o user.o xdr.o winsupport.o
26 CONFOBJ = Config/lib.a
27 EXTRAOBJ = @EXTRAOBJ@
28 -LDFLAGS = @LDFLAGS@ @LIBS@ @LEXLIB@
29 +LDFLAGS = @LDFLAGS@ @LIBS@
30 EXEEXT = @EXEEXT@
31
32 prefix = @prefix@
33 --- a/configure
34 +++ b/configure
35 @@ -2604,7 +2604,7 @@ else
36
37 ac_save_LIBS=$LIBS
38 ac_cv_lib_lex='none needed'
39 - for ac_lib in '' -lfl -ll; do
40 + for ac_lib in '' -ll; do
41 LIBS="$ac_lib $ac_save_LIBS"
42 cat >conftest.$ac_ext <<_ACEOF
43 `cat $LEX_OUTPUT_ROOT.c`