summaryrefslogtreecommitdiff
path: root/package/syslog-ng/patches
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/syslog-ng/patches
Initial import
Diffstat (limited to 'package/syslog-ng/patches')
-rw-r--r--package/syslog-ng/patches/patch-Makefile_in12
-rw-r--r--package/syslog-ng/patches/patch-configure21
-rw-r--r--package/syslog-ng/patches/patch-src_Makefile_in12
-rw-r--r--package/syslog-ng/patches/patch-src_cfg-lex_c14
4 files changed, 59 insertions, 0 deletions
diff --git a/package/syslog-ng/patches/patch-Makefile_in b/package/syslog-ng/patches/patch-Makefile_in
new file mode 100644
index 000000000..aaab22e64
--- /dev/null
+++ b/package/syslog-ng/patches/patch-Makefile_in
@@ -0,0 +1,12 @@
+$Id$
+--- syslog-ng-1.6.11.orig/Makefile.in 2006-05-03 11:10:52.000000000 +0000
++++ syslog-ng-1.6.11/Makefile.in 2007-02-15 20:40:14.000000000 +0000
+@@ -64,7 +64,7 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LDFLAGS = @LDFLAGS@
+ LEX = @LEX@
+-LEXLIB = @LEXLIB@
++LEXLIB =
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+ LIBOBJS = @LIBOBJS@
+ LIBOL_DIR = @LIBOL_DIR@
diff --git a/package/syslog-ng/patches/patch-configure b/package/syslog-ng/patches/patch-configure
new file mode 100644
index 000000000..9eb1f51a9
--- /dev/null
+++ b/package/syslog-ng/patches/patch-configure
@@ -0,0 +1,21 @@
+$Id$
+--- syslog-ng-1.6.11.orig/configure 2006-05-03 11:10:53.000000000 +0000
++++ syslog-ng-1.6.11/configure 2007-02-15 20:42:56.000000000 +0000
+@@ -3160,7 +3160,7 @@ if test "${ac_cv_lib_fl_yywrap+set}" = s
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lfl $LIBS"
++LIBS="$LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h. */
+ _ACEOF
+@@ -7609,7 +7609,7 @@ echo "$as_me: error: Bundled libol not f
+ else
+ LIBOL_VERSION=`libol-config --version`
+ LIBOL_CFLAGS=`libol-config --cflags`
+- LIBOL_LIBS=`libol-config --static-libs`
++ LIBOL_LIBS=`libol-config --libs`
+ MAKE_CLASS="make_class"
+ fi
+ fi
diff --git a/package/syslog-ng/patches/patch-src_Makefile_in b/package/syslog-ng/patches/patch-src_Makefile_in
new file mode 100644
index 000000000..5f497f00a
--- /dev/null
+++ b/package/syslog-ng/patches/patch-src_Makefile_in
@@ -0,0 +1,12 @@
+$Id$
+--- syslog-ng-1.6.11.orig/src/Makefile.in 2006-05-03 11:10:53.000000000 +0000
++++ syslog-ng-1.6.11/src/Makefile.in 2007-02-15 20:40:14.000000000 +0000
+@@ -64,7 +64,7 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LDFLAGS = @LDFLAGS@
+ LEX = @LEX@
+-LEXLIB = @LEXLIB@
++LEXLIB =
+ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
+ LIBOBJS = @LIBOBJS@
+ LIBOL_DIR = @LIBOL_DIR@
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
+