diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2011-01-15 15:52:56 -0200 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2011-01-16 15:59:08 -0200 |
commit | d958139882a254b290dd9494e278ed13b64ad0cc (patch) | |
tree | e09c88dfc13418dd3267eec61bdec4980b96d618 | |
parent | 4b8d851deb3dd746837a1ebec2d9caebd1934aec (diff) | |
download | openembedded-d958139882a254b290dd9494e278ed13b64ad0cc.tar.gz |
slang: fix 2.2.2 compilation with uclibc
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
-rw-r--r-- | recipes/slang/slang/fix-uclibc.patch | 11 | ||||
-rw-r--r-- | recipes/slang/slang_2.2.2.bb | 5 |
2 files changed, 14 insertions, 2 deletions
diff --git a/recipes/slang/slang/fix-uclibc.patch b/recipes/slang/slang/fix-uclibc.patch new file mode 100644 index 0000000000..c2b8225d07 --- /dev/null +++ b/recipes/slang/slang/fix-uclibc.patch @@ -0,0 +1,11 @@ +--- slang-2.1.3.orig/src/slcommon.c 2007-01-10 18:09:07.000000000 +0200 ++++ slang-2.1.3.orig/src/slcommon.c 2008-03-19 16:09:09.000000000 +0200 +@@ -191,7 +191,7 @@ + return p; + } + +-#if !defined(HAVE_ISSETUGID) && defined(__GLIBC__) && (__GLIBC__ >= 2) ++#if !defined(HAVE_ISSETUGID) && defined(__GLIBC__) && (__GLIBC__ >= 2) && !defined(__UCLIBC__) + extern int __libc_enable_secure; + # define HAVE___LIBC_ENABLE_SECURE 1 + #endif diff --git a/recipes/slang/slang_2.2.2.bb b/recipes/slang/slang_2.2.2.bb index 68387f046e..3e0b70e552 100644 --- a/recipes/slang/slang_2.2.2.bb +++ b/recipes/slang/slang_2.2.2.bb @@ -2,9 +2,10 @@ DESCRIPTION = "slang is a library of text functions used in editors like slrn et SECTION = "libs" PRIORITY = "optional" DEPENDS = "pcre" -PR = "r1" +PR = "r2" LICENSE = "GPL Artistic" -SRC_URI = "ftp://space.mit.edu/pub/davis/slang/v2.2/slang-${PV}.tar.bz2" +SRC_URI = "ftp://space.mit.edu/pub/davis/slang/v2.2/slang-${PV}.tar.bz2 \ + file://fix-uclibc.patch" inherit autotools |