summaryrefslogtreecommitdiff
path: root/packages/uclibc/files/termios.h.patch
diff options
context:
space:
mode:
authorHenning Heinold <heinold@inf.fu-berlin.de>2007-07-04 16:42:24 +0000
committerHenning Heinold <heinold@inf.fu-berlin.de>2007-07-04 16:42:24 +0000
commit84d9f6f516ca1c5a001c959b7565fbb63c041c33 (patch)
tree204c8411eb995646c24faa50558cbbc3645cbbdf /packages/uclibc/files/termios.h.patch
parent4ab2c7b1e9072eb4d1e5d93325a370ce7646c50e (diff)
There are some definition missing in uclibc which prevents
building of bluez-utils. -termios.h will be fixed in nex uclibc version according to this thread http://www.mail-archive.com/uclibc@uclibc.org/msg00382.html -errno_values.h is mostly the same as the linux kernel headers but didnt change for years and so stucked with the 2.4 defintions, 2.6 added some more like "ENOKEY" Bumping PR to get rebuilds. Beaware that the toolchain could be broken after compiling the new uclibc version. If you got side-effects with __clz-tab missing symbol, recompile the whole stuff.
Diffstat (limited to 'packages/uclibc/files/termios.h.patch')
-rw-r--r--packages/uclibc/files/termios.h.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/packages/uclibc/files/termios.h.patch b/packages/uclibc/files/termios.h.patch
new file mode 100644
index 0000000000..f7200ba393
--- /dev/null
+++ b/packages/uclibc/files/termios.h.patch
@@ -0,0 +1,22 @@
+Index: uClibc-0.9.29/libc/sysdeps/linux/common/bits/termios.h
+===================================================================
+--- uClibc-0.9.29.orig/libc/sysdeps/linux/common/bits/termios.h 2006-02-13 09:41:37.000000000 +0100
++++ uClibc-0.9.29/libc/sysdeps/linux/common/bits/termios.h 2007-07-03 00:41:27.000000000 +0200
+@@ -156,7 +156,6 @@
+ #endif
+ #define B57600 0010001
+ #define B115200 0010002
+-#if 0 /* limited on uClibc, keep in sync w/ cfsetspeed.c */
+ #define B230400 0010003
+ #define B460800 0010004
+ #define B500000 0010005
+@@ -171,9 +170,6 @@
+ #define B3500000 0010016
+ #define B4000000 0010017
+ #define __MAX_BAUD B4000000
+-#else
+-#define __MAX_BAUD B115200
+-#endif
+ #ifdef __USE_MISC
+ # define CIBAUD 002003600000 /* input baud rate (not used) */
+ # define CMSPAR 010000000000 /* mark or space (stick) parity */