]> git.pld-linux.org Git - packages/busybox.git/blobdiff - busybox-logconsole.patch
- rel 2; fix build with external printf (like on mksh)
[packages/busybox.git] / busybox-logconsole.patch
index 8d38d1614be13aa453d510088503bd6f1249d1e9..f4acdd43a94d5905da99c8bd70c1ccf3bd2032c5 100644 (file)
@@ -1,24 +1,23 @@
-diff -urN busybox-1.00-pre2/include/libbb.h busybox-1.00-pre2.org/include/libbb.h
---- busybox-1.00-pre2/include/libbb.h  2003-08-02 23:40:57.000000000 +0200
-+++ busybox-1.00-pre2.org/include/libbb.h      2003-08-02 23:45:09.000000000 +0200
-@@ -346,7 +346,7 @@
+--- busybox-1.17.3/include/libbb.h.orig        2010-10-09 22:57:13.000000000 +0300
++++ busybox-1.17.3/include/libbb.h     2010-11-08 21:21:38.520518694 +0200
+@@ -1677,7 +1677,7 @@
  # define VC_2 "/dev/vc/2"
  # define VC_3 "/dev/vc/3"
  # define VC_4 "/dev/vc/4"
 -# define VC_5 "/dev/vc/5"
 +# define VC_12 "/dev/vc/12"
- #if defined(__sh__) || defined(__H8300H__) || defined(__H8300S__)
- /* Yes, this sucks, but both SH (including sh64) and H8 have a SCI(F) for their
-    respective serial ports .. as such, we can't use the common device paths for
-@@ -367,7 +367,7 @@
+ # define VC_FORMAT "/dev/vc/%d"
+ # define LOOP_FORMAT "/dev/loop/%d"
+ # define LOOP_NAMESIZE (sizeof("/dev/loop/") + sizeof(int)*3 + 1)
+@@ -1690,7 +1690,7 @@
  # define VC_2 "/dev/tty2"
  # define VC_3 "/dev/tty3"
  # define VC_4 "/dev/tty4"
 -# define VC_5 "/dev/tty5"
 +# define VC_12 "/dev/tty12"
- #if defined(__sh__) || defined(__H8300H__) || defined(__H8300S__)
- #  define SC_0 "/dev/ttySC0"
- #  define SC_1 "/dev/ttySC1"
+ # define VC_FORMAT "/dev/tty%d"
+ # define LOOP_FORMAT "/dev/loop%d"
+ # define LOOP_NAMESIZE (sizeof("/dev/loop") + sizeof(int)*3 + 1)
 --- busybox/init/init.c.orig   2008-04-19 04:03:13.000000000 +0000
 +++ busybox.o/init/init.c      2008-04-26 17:09:58.075653000 +0000
 @@ -64,7 +64,7 @@
This page took 0.037868 seconds and 4 git commands to generate.