diff options
author | Kang Kai <kai.kang@windriver.com> | 2011-03-03 12:34:36 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-03-03 23:49:17 +0000 |
commit | 02b49e3c66d8795f5d8ed02df7b03788dac6dea0 (patch) | |
tree | 19e661f0c4257eda733c63ae834ee6650e771362 /meta/recipes-extended/slang/slang/fix-uclibc.patch | |
parent | 7eccde3bdc2033ca0d68a30ea011a5eee875d16a (diff) | |
download | poky-02b49e3c66d8795f5d8ed02df7b03788dac6dea0.tar.gz |
recipe: add slang from OE
slang is the shared library for the S-Lang extension language,
and required by newt because of LSB command check
(From OE-Core rev: 2ce924c19e8fe8fb67e7cd2aace483e3dffb24cc)
Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/slang/slang/fix-uclibc.patch')
-rw-r--r-- | meta/recipes-extended/slang/slang/fix-uclibc.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/meta/recipes-extended/slang/slang/fix-uclibc.patch b/meta/recipes-extended/slang/slang/fix-uclibc.patch new file mode 100644 index 0000000000..c2b8225d07 --- /dev/null +++ b/meta/recipes-extended/slang/slang/fix-uclibc.patch | |||
@@ -0,0 +1,11 @@ | |||
1 | --- slang-2.1.3.orig/src/slcommon.c 2007-01-10 18:09:07.000000000 +0200 | ||
2 | +++ slang-2.1.3.orig/src/slcommon.c 2008-03-19 16:09:09.000000000 +0200 | ||
3 | @@ -191,7 +191,7 @@ | ||
4 | return p; | ||
5 | } | ||
6 | |||
7 | -#if !defined(HAVE_ISSETUGID) && defined(__GLIBC__) && (__GLIBC__ >= 2) | ||
8 | +#if !defined(HAVE_ISSETUGID) && defined(__GLIBC__) && (__GLIBC__ >= 2) && !defined(__UCLIBC__) | ||
9 | extern int __libc_enable_secure; | ||
10 | # define HAVE___LIBC_ENABLE_SECURE 1 | ||
11 | #endif | ||