summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-extended/slang/slang/fix-uclibc.patch11
-rw-r--r--meta/recipes-extended/slang/slang_2.2.2.bb25
2 files changed, 36 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
diff --git a/meta/recipes-extended/slang/slang_2.2.2.bb b/meta/recipes-extended/slang/slang_2.2.2.bb
new file mode 100644
index 0000000000..7fe76af4cc
--- /dev/null
+++ b/meta/recipes-extended/slang/slang_2.2.2.bb
@@ -0,0 +1,25 @@
1SUMMARY = "The shared library for the S-Lang extension language"
2
3DESCRIPTION = "S-Lang is an interpreted language and a programming library. The \
4S-Lang language was designed so that it can be easily embedded into \
5a program to provide the program with a powerful extension language. \
6The S-Lang library, provided in this package, provides the S-Lang \
7extension language. S-Lang's syntax resembles C, which makes it easy \
8to recode S-Lang procedures in C if you need to."
9
10SECTION = "libs"
11PRIORITY = "optional"
12DEPENDS = "pcre"
13PR = "r0"
14
15LICENSE = "GPL Artistic"
16LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
17
18
19SRC_URI = "ftp://space.mit.edu/pub/davis/slang/v2.2/OLD/slang-${PV}.tar.bz2 \
20 file://fix-uclibc.patch"
21
22inherit autotools
23
24SRC_URI[md5sum] = "974437602a781cfe92ab61433dd16d03"
25SRC_URI[sha256sum] = "cfaf8551fa3855f9b0043309bb553ef6d457f931b404df5a6ba6a5a69371fc42"