aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/slang/slang/fix-uclibc.patch
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2011-01-15 15:52:56 -0200
committerOtavio Salvador <otavio@ossystems.com.br>2011-01-16 15:59:08 -0200
commitd958139882a254b290dd9494e278ed13b64ad0cc (patch)
treee09c88dfc13418dd3267eec61bdec4980b96d618 /recipes/slang/slang/fix-uclibc.patch
parent4b8d851deb3dd746837a1ebec2d9caebd1934aec (diff)
downloadopenembedded-d958139882a254b290dd9494e278ed13b64ad0cc.tar.gz
slang: fix 2.2.2 compilation with uclibc
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes/slang/slang/fix-uclibc.patch')
-rw-r--r--recipes/slang/slang/fix-uclibc.patch11
1 files changed, 11 insertions, 0 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