]> git.pld-linux.org Git - packages/busybox.git/blob - busybox-logconsole.patch
- BR uClibc-static >= 3:0.9.30.1 (it has combreloc|relro filtering built in)
[packages/busybox.git] / busybox-logconsole.patch
1 diff -urN busybox-1.00-pre2/include/libbb.h busybox-1.00-pre2.org/include/libbb.h
2 --- busybox-1.00-pre2/include/libbb.h   2003-08-02 23:40:57.000000000 +0200
3 +++ busybox-1.00-pre2.org/include/libbb.h       2003-08-02 23:45:09.000000000 +0200
4 @@ -346,7 +346,7 @@
5  # define VC_2 "/dev/vc/2"
6  # define VC_3 "/dev/vc/3"
7  # define VC_4 "/dev/vc/4"
8 -# define VC_5 "/dev/vc/5"
9 +# define VC_12 "/dev/vc/12"
10  #if defined(__sh__) || defined(__H8300H__) || defined(__H8300S__)
11  /* Yes, this sucks, but both SH (including sh64) and H8 have a SCI(F) for their
12     respective serial ports .. as such, we can't use the common device paths for
13 @@ -367,7 +367,7 @@
14  # define VC_2 "/dev/tty2"
15  # define VC_3 "/dev/tty3"
16  # define VC_4 "/dev/tty4"
17 -# define VC_5 "/dev/tty5"
18 +# define VC_12 "/dev/tty12"
19  #if defined(__sh__) || defined(__H8300H__) || defined(__H8300S__)
20  #  define SC_0 "/dev/ttySC0"
21  #  define SC_1 "/dev/ttySC1"
22 --- busybox/init/init.c.orig    2008-04-19 04:03:13.000000000 +0000
23 +++ busybox.o/init/init.c       2008-04-26 17:09:58.075653000 +0000
24 @@ -64,7 +64,7 @@
25  /* Static variables */
26  static struct init_action *init_action_list = NULL;
27  
28 -static const char *log_console = VC_5;
29 +static const char *log_console = VC_12;
30  
31  enum {
32         L_LOG = 0x1,
This page took 0.037821 seconds and 3 git commands to generate.