busybox: add 1.19.3 getty and modinfo fixes
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Mon, 31 Oct 2011 12:02:18 +0000 (09:02 -0300)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 2 Nov 2011 08:34:34 +0000 (09:34 +0100)
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/busybox/busybox-1.19.3/busybox-1.19.3-getty.patch [new file with mode: 0644]
package/busybox/busybox-1.19.3/busybox-1.19.3-modinfo.patch [new file with mode: 0644]

diff --git a/package/busybox/busybox-1.19.3/busybox-1.19.3-getty.patch b/package/busybox/busybox-1.19.3/busybox-1.19.3-getty.patch
new file mode 100644 (file)
index 0000000..84dad6f
--- /dev/null
@@ -0,0 +1,12 @@
+--- busybox-1.19.3/loginutils/getty.c
++++ busybox-1.19.3-getty/loginutils/getty.c
+@@ -271,7 +271,9 @@ static void termios_init(int speed)
+ #ifdef CMSPAR
+               | CMSPAR  /* mark or space parity */
+ #endif
++#ifdef CBAUD
+               | CBAUD   /* (output) baud rate */
++#endif
+ #ifdef CBAUDEX
+               | CBAUDEX /* (output) baud rate */
+ #endif
diff --git a/package/busybox/busybox-1.19.3/busybox-1.19.3-modinfo.patch b/package/busybox/busybox-1.19.3/busybox-1.19.3-modinfo.patch
new file mode 100644 (file)
index 0000000..9dd5c10
--- /dev/null
@@ -0,0 +1,10 @@
+--- busybox-1.19.3/modutils/modinfo.c
++++ busybox-1.19.3-modinfo/modutils/modinfo.c
+@@ -13,6 +13,7 @@
+ //config:config MODINFO
+ //config:     bool "modinfo"
+ //config:     default y
++//config:     select PLATFORM_LINUX
+ //config:     help
+ //config:       Show information about a Linux Kernel module