diff --git a/package/base/linux/linux26-hdrs/compiler_h.patch b/package/base/linux/linux26-hdrs/compiler_h.patch new file mode 100644 index 000000000..65c1d859c --- /dev/null +++ b/package/base/linux/linux26-hdrs/compiler_h.patch @@ -0,0 +1,4 @@ +--- ./linux/compiler.h.orig 2007-05-21 21:54:33.000000000 +0200 ++++ ./linux/compiler.h 2007-05-21 12:19:01.000000000 +0200 +@@ -0,0 +1 @@ ++/* just a dummy placeholder */ diff --git a/package/base/util-linux/llseek_fixes.patch b/package/base/util-linux/llseek_fixes.patch index 41bdff812..9873cc62b 100644 --- a/package/base/util-linux/llseek_fixes.patch +++ b/package/base/util-linux/llseek_fixes.patch @@ -61,4 +61,23 @@ +} #endif + static int +--- ./partx/partx.c 2007-05-21 22:30:42.000000000 +0200 ++++ ./partx/partx.c 2007-05-21 22:31:21.000000000 +0200 +@@ -339,10 +339,13 @@ + #endif + + #ifdef NEED__llseek ++#include + #include /* _syscall */ +-static +-_syscall5(int, _llseek, uint, fd, ulong, hi, ulong, lo, +- long long *, res, uint, wh); ++static int _llseek (unsigned int fd, unsigned long oh, ++ unsigned long ol, long long *result, ++ unsigned int origin) { ++ return syscall(__NR__llseek, fd, oh, ol, result, origin); ++} + #endif + static int