diff options
Diffstat (limited to 'package/syslog-ng/patches/patch-src_cfg-lex_c')
-rw-r--r-- | package/syslog-ng/patches/patch-src_cfg-lex_c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/package/syslog-ng/patches/patch-src_cfg-lex_c b/package/syslog-ng/patches/patch-src_cfg-lex_c new file mode 100644 index 000000000..b9d37d779 --- /dev/null +++ b/package/syslog-ng/patches/patch-src_cfg-lex_c @@ -0,0 +1,14 @@ +$Id$ +--- syslog-ng-1.6.11.orig/src/cfg-lex.c 2006-03-27 14:44:46.000000000 +0000 ++++ syslog-ng-1.6.11/src/cfg-lex.c 2007-02-15 20:40:14.000000000 +0000 +@@ -667,7 +667,9 @@ static void append_char(char c); + #ifdef __cplusplus + extern "C" int yywrap (void ); + #else +-extern int yywrap (void ); ++int yywrap (void ) { ++ return 1; ++} + #endif + #endif + |