add an initscript
[openwrt.git] / obsolete-buildroot / sources / util-linux.patch
1 --- util-linux-2.11z/mount/fstab.c.orig 2003-12-03 15:28:22.000000000 -0700
2 +++ util-linux-2.11z/mount/fstab.c 2003-12-03 15:28:41.000000000 -0700
3 @@ -342,7 +342,7 @@
4 /* Ensure that the lock is released if we are interrupted. */
5 static void
6 handler (int sig) {
7 - die (EX_USER, "%s", sys_siglist[sig]);
8 + die (EX_USER, "%s", strsignal(sig));
9 }
10
11 static void
12 --- /dev/null 2003-09-07 01:55:59.000000000 -0600
13 +++ util-linux-2.11z/mount/swapargs.h 2003-12-03 15:44:50.000000000 -0700
14 @@ -0,0 +1,3 @@
15 +#define SWAPON_HAS_TWO_ARGS
16 +#include <asm/page.h>
17 +#include <sys/swap.h>
18 --- util-linux-2.11z/mount/swap.configure.orig 2003-12-03 15:43:24.000000000 -0700
19 +++ util-linux-2.11z/mount/swap.configure 2003-12-03 15:45:33.000000000 -0700
20 @@ -1,6 +1,8 @@
21 # Find out whether we can include <sys/swap.h>
22 # and whether libc thinks that swapon() has two arguments.
23
24 +exit 0
25 +
26 # Prepare test
27 CC=${CC-cc}
28 compile="$CC -o conftest conftest.c >/dev/null 2>&1"
This page took 0.038488 seconds and 5 git commands to generate.