add wxBase framework library
[openwrt/svn-archive/archive.git] / admin / syslog-ng / patches / 001-no_lfl.patch
1 diff -ubr /tmp/syslog-ng-1.6.12/configure syslog-ng-1.6.12/configure
2 --- /tmp/syslog-ng-1.6.12/configure 2007-02-02 02:58:41.000000000 -0600
3 +++ syslog-ng-1.6.12/configure 2007-03-03 20:39:40.000000000 -0600
4 @@ -3695,7 +3695,7 @@
5 echo $ECHO_N "(cached) $ECHO_C" >&6
6 else
7 ac_check_lib_save_LIBS=$LIBS
8 -LIBS="-lfl $LIBS"
9 +LIBS="$LIBS"
10 cat >conftest.$ac_ext <<_ACEOF
11 /* confdefs.h. */
12 _ACEOF
13 diff -ubr /tmp/syslog-ng-1.6.12/Makefile.in syslog-ng-1.6.12/Makefile.in
14 --- /tmp/syslog-ng-1.6.12/Makefile.in 2007-02-02 02:58:41.000000000 -0600
15 +++ syslog-ng-1.6.12/Makefile.in 2007-03-03 20:38:56.000000000 -0600
16 @@ -65,7 +65,7 @@
17 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
18 LDFLAGS = @LDFLAGS@
19 LEX = @LEX@
20 -LEXLIB = @LEXLIB@
21 +LEXLIB =
22 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
23 LIBOBJS = @LIBOBJS@
24 LIBOL_DIR = @LIBOL_DIR@
25 diff -ubr /tmp/syslog-ng-1.6.12/src/cfg-lex.c syslog-ng-1.6.12/src/cfg-lex.c
26 --- /tmp/syslog-ng-1.6.12/src/cfg-lex.c 2006-08-22 03:43:36.000000000 -0500
27 +++ syslog-ng-1.6.12/src/cfg-lex.c 2007-03-03 20:36:52.000000000 -0600
28 @@ -668,7 +668,9 @@
29 #ifdef __cplusplus
30 extern "C" int yywrap (void );
31 #else
32 -extern int yywrap (void );
33 +int yywrap (void ) {
34 + return 1;
35 +}
36 #endif
37 #endif
38