summaryrefslogtreecommitdiff
path: root/package/sysklogd/sysklogd.patch
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2005-09-13 20:58:37 +0000
committerEric Andersen <andersen@codepoet.org>2005-09-13 20:58:37 +0000
commit0eb90feffd96f77dd0bc46e53947fda33d1c02fe (patch)
treee7ab3344395b74b778ccb1f791791a2825e7fd25 /package/sysklogd/sysklogd.patch
parent23791fa0e6af2523afb67c3f1f4e6960bb9e13a9 (diff)
Add support for the full blown versions of sysklogd and klogd
Diffstat (limited to 'package/sysklogd/sysklogd.patch')
-rw-r--r--package/sysklogd/sysklogd.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/package/sysklogd/sysklogd.patch b/package/sysklogd/sysklogd.patch
new file mode 100644
index 000000000..5178ed377
--- /dev/null
+++ b/package/sysklogd/sysklogd.patch
@@ -0,0 +1,17 @@
+On MIPS architecture, sysklogd fails to compile because linux/module.h
+depends on asmlinkage, which is defined linux/linkage.h.
+
+The "proper" fix to this would probably be to apply the
+mips-fixed-fls-warning.patch to the linux sources, which patches
+asm-mips/system.h to always include linux/linkage.h.
+
+--- sysklogd-1.4.1/ksym_mod.c.orig 2000-09-12 14:15:28.000000000 -0700
++++ sysklogd-1.4.1/ksym_mod.c 2005-08-15 14:11:42.000000000 -0700
+@@ -89,6 +89,7 @@
+ #include <errno.h>
+ #include <sys/fcntl.h>
+ #include <sys/stat.h>
++#include <linux/linkage.h>
+ #if !defined(__GLIBC__)
+ #include <linux/time.h>
+ #include <linux/module.h>