summaryrefslogtreecommitdiffstats
path: root/package/ulogd/patches/ulogd-1.23-gcc4.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/ulogd/patches/ulogd-1.23-gcc4.patch')
-rw-r--r--package/ulogd/patches/ulogd-1.23-gcc4.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/package/ulogd/patches/ulogd-1.23-gcc4.patch b/package/ulogd/patches/ulogd-1.23-gcc4.patch
new file mode 100644
index 000000000..2e2a398f3
--- /dev/null
+++ b/package/ulogd/patches/ulogd-1.23-gcc4.patch
@@ -0,0 +1,24 @@
+diff -ur ulogd-1.23/extensions/ulogd_SYSLOG.c ulogd-1.23-owrt/extensions/ulogd_SYSLOG.c
+--- ulogd-1.23/extensions/ulogd_SYSLOG.c 2005-02-12 22:17:41.000000000 +0100
++++ ulogd-1.23-owrt/extensions/ulogd_SYSLOG.c 2006-01-29 19:58:43.000000000 +0100
+@@ -136,7 +136,7 @@
+ .name = "syslog",
+ .init = &syslog_init,
+ .fini = &syslog_fini,
+- .output &_output_syslog
++ .output = &_output_syslog
+ };
+
+
+diff -ur ulogd-1.23/include/ulogd/ulogd.h ulogd-1.23-owrt/include/ulogd/ulogd.h
+--- ulogd-1.23/include/ulogd/ulogd.h 2004-04-25 00:40:54.000000000 +0200
++++ ulogd-1.23-owrt/include/ulogd/ulogd.h 2006-01-29 19:58:40.000000000 +0100
+@@ -56,8 +56,6 @@
+ #define ULOGD_ERROR 7 /* error condition, requires user action */
+ #define ULOGD_FATAL 8 /* fatal, program aborted */
+
+-extern FILE *logfile;
+-
+ typedef struct ulog_iret {
+ /* next interpreter return (key) in the global list */
+ struct ulog_iret *next;