summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/util-linux/util-linux/check-for-_HAVE_STRUCT_TERMIOS_C_OSPEED.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/util-linux/util-linux/check-for-_HAVE_STRUCT_TERMIOS_C_OSPEED.patch')
-rw-r--r--meta/recipes-core/util-linux/util-linux/check-for-_HAVE_STRUCT_TERMIOS_C_OSPEED.patch16
1 files changed, 0 insertions, 16 deletions
diff --git a/meta/recipes-core/util-linux/util-linux/check-for-_HAVE_STRUCT_TERMIOS_C_OSPEED.patch b/meta/recipes-core/util-linux/util-linux/check-for-_HAVE_STRUCT_TERMIOS_C_OSPEED.patch
deleted file mode 100644
index c92c276ac1..0000000000
--- a/meta/recipes-core/util-linux/util-linux/check-for-_HAVE_STRUCT_TERMIOS_C_OSPEED.patch
+++ /dev/null
@@ -1,16 +0,0 @@
1Checking for exitence of the define is not enough since
2it will be defined with 0 or 1 value
3
4Upstream-Status: Pending
5Signed-off-by: Khem Raj <raj.khem@gmail.com>
6--- a/sys-utils/ldattach.c
7+++ b/sys-utils/ldattach.c
8@@ -242,7 +242,7 @@ static int my_cfsetspeed(struct termios
9 * -- we have to bypass glibc and set the speed manually (because glibc
10 * checks for speed and supports Bxxx bit rates only)...
11 */
12-#ifdef _HAVE_STRUCT_TERMIOS_C_ISPEED
13+#if _HAVE_STRUCT_TERMIOS_C_ISPEED
14 # define BOTHER 0010000 /* non standard rate */
15 dbg("using non-standard speeds");
16 ts->c_ospeed = ts->c_ispeed = speed;