diff options
author | Henning Heinold <heinold@inf.fu-berlin.de> | 2007-07-04 16:42:24 +0000 |
---|---|---|
committer | Henning Heinold <heinold@inf.fu-berlin.de> | 2007-07-04 16:42:24 +0000 |
commit | 84d9f6f516ca1c5a001c959b7565fbb63c041c33 (patch) | |
tree | 204c8411eb995646c24faa50558cbbc3645cbbdf /packages/uclibc/files/errno_values.h.patch | |
parent | 4ab2c7b1e9072eb4d1e5d93325a370ce7646c50e (diff) | |
download | openembedded-84d9f6f516ca1c5a001c959b7565fbb63c041c33.tar.gz |
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/errno_values.h.patch')
-rw-r--r-- | packages/uclibc/files/errno_values.h.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/packages/uclibc/files/errno_values.h.patch b/packages/uclibc/files/errno_values.h.patch new file mode 100644 index 0000000000..a1e39c181b --- /dev/null +++ b/packages/uclibc/files/errno_values.h.patch @@ -0,0 +1,21 @@ +Index: uClibc-0.9.29/libc/sysdeps/linux/common/bits/errno_values.h +=================================================================== +--- uClibc-0.9.29/libc/sysdeps/linux/common/bits/errno_values.h 2002-08-23 20:48:19.000000000 +0200 ++++ uClibc-0.9.29/libc/sysdeps/linux/common/bits/errno_values.h 2007-07-01 22:11:53.000000000 +0200 +@@ -134,4 +134,16 @@ + #define ENOMEDIUM 123 /* No medium found */ + #define EMEDIUMTYPE 124 /* Wrong medium type */ + ++/* the following errornumbers are only in 2.6 */ ++ ++#define ECANCELED 125 /* Operation Canceled */ ++#define ENOKEY 126 /* Required key not available */ ++#define EKEYEXPIRED 127 /* Key has expired */ ++#define EKEYREVOKED 128 /* Key has been revoked */ ++#define EKEYREJECTED 129 /* Key was rejected by service */ ++ ++/* for robust mutexes */ ++#define EOWNERDEAD 130 /* Owner died */ ++#define ENOTRECOVERABLE 131 /* State not recoverable */ ++ + #endif /* _BITS_ERRNO_VALUES_H */ |